[Home] [By Thread] [By Date] [Recent Entries]
> "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.
|

Cart



