xslt

Having trouble installing Oxygen? Got a bug to report? Post it all here.
robina
Posts: 1
Joined: Mon Jun 14, 2004 5:51 pm

xslt

Post by robina »

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.
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Your XSLT code looks ok at a first glance. To be able to help you we will need a working sample (xml/xsl) that will show your problem and the expected output.

Best Regards,
George
Post Reply