OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Attribute Usage

[ Lists Home | Date Index | Thread Index ]

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

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




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS