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 ]


> "preceding-sibling::*" to a variable "var", then I can ask for $var[1]
> which would have no meaning if this was a -set- a

true but [] does not work on a node set, it works on the current node
list (which being a list is ordered). In the above construct teh current
node list is first constructed by taking teh set in $var and listing the
nodes in document order.

In Xpath 1 the current node list is not a first class object, it can not
be returned as the value of an expression.

David

_____________________________________________________________________
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