RE: [xsl] Grouping upon various attribute values

Subject: RE: [xsl] Grouping upon various attribute values
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 16 Aug 2006 16:01:23 +0100
> I think it's conceivable that two different XSLT processors 
> could return attributes in a different order.... but the same 
> processor on the same run?

For the same attributes on the same element, yes (in fact, the data model
requires the order to be stable): but for the "same" attributes on different
elements, no. It's entirely possible that attributes A, B on element E1 will
be in a different order from attributes A, B on element E2, and that the
grouping key formed using string-join(@*, '|') would be different in the two
cases even though the attributes are equal.

Michael Kay
http://www.saxonica.com/

Current Thread