[
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) ?
|