[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Getting previous node in nodeset
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 22 Apr 2011 08:31:21 +0100
... except you (probably) want to test using is rather than eq (ie node identity rather than value) so replace index-of() by a function using node identity for comparison, an example of such is the eg:index-of-node() in the xpath spec:

http://www.w3.org/TR/xpath-functions/#index-of-node

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member