Re: [xsl] Getting previous node in nodeset

Subject: Re: [xsl] 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