the specification doesn't guarantee that ../@* is in the same order of
the node-set returned by @* when the apply-templates was done.
Or have I got that wrong.
Yep, document order is consistent:
http://www.w3.org/TR/xpath-datamodel/#document-order
"Attribute Nodes immediately follow the Namespace Nodes of the element
with which they are associated. If there are no Namespace Nodes
associated with a given element, then the Attribute Nodes associated
with that element immediately follow the element. **The relative order
of Attribute Nodes is stable but implementation-dependent**."
(I added the **)
--
Andrew Welch
http://andrewjwelch.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--