Chapter 9. Attribute Types

IN THIS CHAPTER

9.1 An Example of an Attribute Type

9.2 An Example of a Named Attribute-use Group

9.3 An Example of anyAttribute

9.4 Concepts and Observations Regarding Attribute Types

9.5 The attribute Element

9.6 The attributeGroup Element

9.7 The anyAttribute Element

An attribute type specifies constraints for corresponding attributes in an XML instance. The main purpose of an attribute type is to associate an attribute name with a structure type. The structure type of an attribute type is always a simple type. The structure type may be global, or the structure type may be local to the attribute type. The XML representation of an attribute type is an attribute element.

Because the structure type of an attribute ...

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.