Hello List,
I am using following template to display a
<br> tag after every 25th character of the string. But
that does not seem to work.
<xsl:template name="normaliseString">
<xsl:param name="releaselevel"/>
<xsl:variable name="temp"
select="substring($releaselevel,1,25)"/>
<xsl:value-of select="$temp"/>
<xsl:text><br> </xsl:text>
<xsl:if test="string-length($releaselevel) >25">
<xsl:variable name="temp2"
select="substring($temp,26,string-length($releaselevel))"/>
<xsl:value-of select="$temp2"/>
<xsl:call-template name="normaliseString">
<xsl:with-param name="releaselevel"
select="@temp2"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
any suggestion.
regards,
Ranjan
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail