This chapter covers the other basic building block of XML: attributes. It explains how to declare attributes and assign types to them. It also describes fixed and default values as they apply to attributes.
Attribute declarations are used to name an attribute and associate it with a particular simple type. In XSDL, this is accomplished using an
attribute element. Attribute declarations may be either global or local.
Whether to model data values as elements or attributes is an often-discussed question. XML Schema, with its ability to define data types for elements, ...