RE: [xml-dev] Attribute Usage

From
Bullard, Claude L (Len) <>
To
"''" <>,
Date
2005-03-14T21:09:33Z
ID
<>
Thread
RE: [xml-dev] Attribute Usage
Essentially, to annotate element content (for example, 
to provide an identifier value.)

As to elements over attributes, a LOT of ink has been spilled 
and it comes down to dealer's choice.  OTOH, attributes have 
issues such as limited native types, non-repeating, no 
structure, etc., that you should understand.  Start here:

http://xml.coverpages.org/elementsAndAttrs.html

len


From:  [mailto:]

What is the purpose of element attribute?  And is there a usage
rule-of-thumb for element attribute (attribute vs. child element) ?