RE: [xsl] Testing against node-set

Subject: RE: [xsl] Testing against node-set
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Thu, 6 Feb 2003 17:41:46 -0000
> 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.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


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


Current Thread