[Home] [By Thread] [By Date] [Recent Entries]


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: Farid.Mahini@L... [mailto:Farid.Mahini@L...]

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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member