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

[ Lists Home | Date Index | Thread Index ]

Simple enough. According to section 3.1 of the XML rec [1], the order of
attributes is not significant so you can add attributes wherever you want
within start-tags and empty-element tags. Hope that's what you were after.


[1] http://www.w3.org/TR/REC-xml.html#sec-starttags

-----Original Message-----
From: Peter Finch [mailto:peter@homepla.net]
Sent: Friday, December 07, 2001 3:15 AM
Subject: [xml-dev] Attribute Order


I'm working on a little project to persistently store XML
documents and I'm trying to work out if there is any reason
to store attributes in a particular order?

Is there anything that says that attributes have to stay
in the order they are in, or does it matter that if, when
adding an attribute, that it might just get added to the
end of the attribute list?

Peter Finch

The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
initiative of OASIS <http://www.oasis-open.org>

The list archives are at http://lists.xml.org/archives/xml-dev/

To subscribe or unsubscribe from this list use the subscription
manager: <http://lists.xml.org/ob/adm.pl>


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

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