[Home] [By Thread] [By Date] [Recent Entries]
AndrewWatt2000@a... 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/)
|

Cart



