Subject:Comparing two nodes Author:R R Date:23 Jun 2006 11:30 AM
I am trying to comparing two nodes to get the position() in the main node list.
The code is as
<xsl:if test=".= $node-list" >
Basically the node values are compared.
But there is problem that if two or more nodes have the same value (like two nodes <book-item>some</book-item> and <book-item>some</book-item>)then it returns two or more values as the node values some and some are same.
Can any body advice me if I can use any other id in this case?