Lists Home |
Date Index |
> Consider the following XML element:
> <!ELEMENT value (#PCDATA)>
> <!ATTLIST value year CDATA #IMPLIED>
> Is this a declaration or a definition ?
It is not an XML element, it is not a declaration, and it is not a
It is an element type declaration followed by an attribute-list declaration.
The attribute-list declaration in this case consists of a single attribute
I don't think that the XML specification makes any subtle distinction
between the words "declaration" and "definition", but I may be wrong.
Internally however its terminology is consistent.