This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
For each loop faliure
- From: "Sachidanandam E K" <sachidanandam dot kumaraswamy at kla-tencor dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 5 Apr 2001 12:52:46 +0530
- Subject: [xsl] For each loop faliure
- Reply-to: xsl-list at lists dot mulberrytech dot com
In the below code I want to for loop to be continued for all nodes.
But here in this code below in the first case itself if the condition fails
it goes out of for each loop.
How about to proceed?
<xsl:for-each select="$A/RecipeVersions">
<xsl:for-each select="$B/RecipeVersions">
<xsl:if test="($A/RecipeVersions/RecipeVersion/VersionID !=
$B/RecipeVersions/RecipeVersion/VersionID) = false">
<xsl:value-of select="$B/RecipeVersions/RecipeVersion/VersionID"/>
</xsl:if>
</xsl:for-each>
</xsl:for-each>
Thanks in Advance
Sachi
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list