9.6. The attributeGroup Element

A named attribute-use group specifies a set of attribute uses. An attribute use is either a local attribute type, or a reference to a global attribute type. The XML schema specifies a named attribute-use group once; the XML schema references the named attribute-use group potentially many times. The named attribute-use group provides a convenient mechanism for defining complex types that require the same or similar attribute types. Additionally, named attribute-use groups provide modularity: Simply modifying a named attribute-use group indirectly modifies the complex types that reference that named attribute-use group.

The XML representation of a named attribute-use group is the attributeGroup element. Listing ...

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.