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 ]

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
------------------------------------------------------------------------





 

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

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