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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Quick Xpath

[ Lists Home | Date Index | Thread Index ]

> What I don't find obvious in the recs is why this "reverse order"
> property is lost when you assign the node set "preceding-sibling::*" to
> a variable, but all the XSLT processors seem to behave consistently in
> this respect.

beware it's different in Xpath2 (and works as you thought) but in XPath1
node sets are sets, and being sets they don't have an order.
so _all ordering_ is lost if you return a node set value.
copy-of for-each and friends order their supplied node set into document
order as part of their processing.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS