[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: XML jargon: declaration vs. definition
> > 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 definition. It is an element type declaration followed by an attribute-list declaration. The attribute-list declaration in this case consists of a single attribute definition. 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. Michael Kay http://www.saxonica.com/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|