ok instead of calling recursive templates I have written this code with position but I am having a little problem left now.
<h3><a><xsl:attribute name="href">javascript:sendContentRequest(<xsl:num ber value="position()" format="1" />-1)</xsl:attribute>
<xsl:number value="position()" format="1" /><xsl:text>. </xsl:text>
<xsl:variable name="headline" select="fcs:headline/fcs:paragraph"/>
<xsl:variable name="cut" select="substring($headline,0,50)"/>
<xsl:variable name="index" select="0"/>
<xsl:value-of select="$cut"/>
</a></h3>
I am having this output
</tr>
<tr>
<td class="text">
<h3><a href="javascript:sendContentRequest({1}-1)">1. Students' Paths To Small Colleges Can Bypass SAT </a></h3>
</td>
</tr>
I want to see ><a href="javascript:sendContentRequest({1}-1)"> as ><a href="javascript:sendContentRequest(0)"> how can I manage to do it?
Your attitude determines your altitude
|