[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Should attributes be prefixed
When should attributes be
prefixed and included in a namespace, and when should attributes reside
globally.
i.e. global
attribute <V units="Volts" xmlns="mailto:Doug.Ransom@p..."/>
vs attribute in the
namespace
<p:V
p:units="Volts" xmlns:p="mailto:Doug.Ransom@p..."/>
In both cases, the units value
must exist within the V element for the element to be valid.
Software Engineer/Internet Technologies Domain Lead
http://www.pwrm.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
|