[Home] [By Thread] [By Date] [Recent Entries]
Siva Jasthi wrote:
I have tried this out in my xsl, but it doesn't seem to be working.Wait a minute, your xml contains 7 nodes, which you've been divided into 2 disjoint subsets (because name attribute value cannot be simultaneously 'Asm' and 'Cmp'). So intersection is empty set. If you need number of nodes with the same obid attribute value, that's not an intersection actually. What you want is much simpler: <xsl:variable name="c" select="$a[.=$b]"/> -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



