xsl-list
[Top] [All Lists]

RE: Testing against node-set

2003-02-06 10:41:46
I wanna select all rows from the second rowSet, whose
parentIDs are not equal to any row id from the first
rowSet. In this example, it'd be rows 3 and 6:

<xsl:for-each select="$secondRowSet[parentID!=$firstRowSet/@id]">

S1 != S2 is true if there is some pair of nodes in S1 and S2 that are
unequal. The condition you want is not(S1 = S2), which is true if there
is no pair of nodes that are equal.

Michael Kay
Software AG
home: Michael(_dot_)H(_dot_)Kay(_at_)ntlworld(_dot_)com
work: Michael(_dot_)Kay(_at_)softwareag(_dot_)com 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>