xslt
Posted: Mon Jun 14, 2004 5:57 pm
hi friends i am new to xslt programming i have problem in using the for each and position tags.
this is my code...
<xsl:for-each select="input_information">
<xsl:if test="$info1-ident=@info">
<xsl:if test="position() = 1">
<span style="color:black; font-weight:bold;">Input of Activity:</span><br/>
</xsl:if> </xsl:if> </xsl:for-each>
here i mean to get Input of activity only on position 1. But I am not getting the expected results . anybody please help me . thanking you for your consideration.
this is my code...
<xsl:for-each select="input_information">
<xsl:if test="$info1-ident=@info">
<xsl:if test="position() = 1">
<span style="color:black; font-weight:bold;">Input of Activity:</span><br/>
</xsl:if> </xsl:if> </xsl:for-each>
here i mean to get Input of activity only on position 1. But I am not getting the expected results . anybody please help me . thanking you for your consideration.