[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Quick Xpath
On Wed, 2002-07-17 at 23:52, Eric van der Vlist wrote: > To libxslt too! (that's where I took my bad habit about the order of the > preceding-sibling axis...) > > I'll double check and do it right now... This is fixed in the release (10018) of libxslt which I am using right now. Finally a word to say that even though the preceding-sibling is a "reverse" axis, a copy-of or apply-templates on "preceding-sibling::*" would take the nodes by document order: the "reverse order" property only affects the position -as returned by the "position()" function- of the nodes, not their physical position in the node set... 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. Eric -- See you in San Diego. http://conferences.oreillynet.com/os2002/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|