Re: [xml-dev] Attribute Order (Was: Create XML )

From
Tim Bray <>
To
Date
2003-06-22T14:33:37Z
ID
<>
Thread
Re: [xml-dev] Attribute Order (Was: Create XML )
 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/)