[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Grouping upon various attribute values

Subject: Re: Grouping upon various attribute values
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Wed, 16 Aug 2006 16:02:46 +0100
Re:  Grouping upon various attribute values
On 8/16/06, David Carlisle <davidc@xxxxxxxxx> wrote:


> Changing the read technique mid-transform would be a bit strange, even
> if it was conformant

It wouldn't be conformant.
document order of attribute nodes is stable and well defined, given an
input tree. What isn't defined is how the nodes are ordered in an input
tree, given the XML document markup. So once teh document has been
parsed, attribute order is just as fixed as eleemnt order.

Yes, but I'm not thinking clearly at the moment -


<foo a="a" b="b"/>

and

<foo b="b" a="a"/>

are semantically equivalent but the result of string-join(@*,'-')
would (I think, most of the time) be different, so it really depends
on the consistency of the ordering in the on-disk version, and the
order in which the XML parser reports the attributes.

It's good to know though that once parsed the order is fixed.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.