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 Order (Was: Create XML )

[ Lists Home | Date Index | Thread Index ]

AndrewWatt2000@aol.com wrote:

> Thinking back to XML 1.0, why is it that attributes are not ordered?

Historically, the mental model of attributes was a set of name/value 
pairs.  Thus the uniqueness and lack of ordering.  It does allow you, 
for example, to represent the attributes of an element with a hash in 
Perl or the equivalent in many other programming environments.

Cheers, Tim Bray
         (ongoing fragmented essay: http://www.tbray.org/ongoing/)


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

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