Subject: Match multiple times output once
From: "SINGH Navpreet" <Navpreet.SINGH@xxxxxxxxx>
Date: Mon, 29 Aug 2005 08:11:58 +1000
|
Hi
I am having trouble with xsl:call-template.
<xsl:for-each select="relation[attribute::className='a']">
<xsl:call-template name="b1_u_populate">
<xsl:with-param name="rhs"><xsl:value-of
select="node[attribute::className='b']/PartNumber"/></xsl:with-param>
</xsl:call-template>
</xsl:for-each>
I have multiple relation child element of the root element. I want to call
call-template only once. So whenever the above condition is true and the
xsl:call-template is called once the loop shold be existed. Can you please
suggests me any solution.
Thanks,
Navpreet
|