An XML attribute is an optional extra piece of descriptive data for an XML Element.
<shoe price="%23">Nike</shoe>
In this example, price
is the attribute.
DTD
The DTD for an XML attribute can be described through the !ATTLIST declaration.
An XML attribute is an optional extra piece of descriptive data for an XML Element.
<shoe price="%23">Nike</shoe>
In this example, price
is the attribute.
The DTD for an XML attribute can be described through the !ATTLIST declaration.