O'Reilly logo

XML Companion, The, Third Edition by Neil Bradley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Attribute declarations

Attributes are declared separately from the element, in an attribute list declaration. All the attributes associated with a particular element are usually declared together, in a single attribute list declaration. An attribute declaration is identified by the keyword 'ATTLIST'. The name of the element that will contain the declared attributes appears first:

<!ATTLIST  chapter ... .....
                   ... .....>

When there is more than one declaration for a particular element, the individual attribute definitions are combined. However, the first declaration takes precedence when the same attribute is redefined in declarations that are encountered later. Note that this allows an attribute declaration in the internal subset to override ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required