[Home] [By Thread] [By Date] [Recent Entries]
G. Ken Holman wrote:
<xsl:template match="/"> <xsl:variable name="users" select="//Users/User/UserId" /> <xsl:variable name="friends" select="//Friends/Friend/UserId" /> For the (short) example data posted it does not matter but in general I think the above should be <xsl:value-of select="$users[not(. = $friends)]"/> as that is quite different from $users[. != $friends]. -- Martin Honnen http://JavaScript.FAQTs.com/
|

Cart



