[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: attribute order (RE: Syntax Sugar and XML information models)
- From: Tim Bray <tbray@textuality.com>
- To: "Simon St.Laurent" <simonstl@simonstl.com>, xml-dev@lists.xml.org
- Date: Fri, 30 Mar 2001 14:26:09 -0800
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