11.7. The simpleContent Element
The simpleContent element can specify attributes for simple types. This element can also extend or restrict attribute types on other complex types with simple content. Listing 11.2 provides an example of adding attribute types to a simple type.
11.7.1. Attributes of a simpleContent Element
The only attribute of the simpleContent element is the ubiquitous id attribute (see Table 11.3).
Attribute | Description |
---|---|
id | The value of an id attribute uniquely identifies an element within the set of schema documents that comprise an XML schema. |
11.7.1.1. The id Attribute of a simpleContent Element
The value of an id attribute uniquely identifies an element within the ...
Get XML Schema Complete Reference, The now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.