What Elements Can You Use in Schemas?
So which elements do schemas support? You can see an overview in Table 5-2. You'll see many of these elements at work as you build schemas in this chapter.
Type | Description |
---|---|
all | Permits the elements in a group to appear in any order in the containing element. |
annotation | Creates an annotation. |
any | Permits any element from the given namespace(s) to appear in the containing sequence or choice element. |
anyAttribute | Permits any attribute from the given namespace to appear in the containing complexType element or the containing attributeGroup element. |
appinfo | Specifies information to be used by applications within an annotation element. |
attribute | Creates an attribute. |
attributeGroup | Groups ... |
Get Real World XML 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.