OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help


RE: attribute order (RE: Syntax Sugar and XML information models)

At 08:26 AM 30/03/01 -0500, Simon St.Laurent wrote:
>Is there some kind of processing advantage for _parsers_ (not applications) 
>to report attribute values in any sequence other than their original sequence?

Only instance I can think of is in perl, in one of the interfaces
through XML::Parser to expat, you can arrange to get a callback
for each start tag where the attributes are passed in as a hash
keyed by name in the obvious way.  So the order isn't changed,
but it's effectively lost. -Tim