You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Roberto Leong <ro...@sibs.mailcom.pt> on 2000/09/26 12:01:10 UTC

question on variables/parameters

hi

is it possible to do something like this in xsl

Str str="";
for(int i=0; i<5; i++)
	str = str + 1;

so that str after the loop is "12345"

I´ve tried the following example without success

<xsl:param name="fullName" select="''"/>
<xsl:for-each select="/NAME">				
	<xsl:param name="totalChapters" select="concat(@FIRST_NAME,
$fullName)"/>
</xsl:for-each>

which doesn´t work as it always prints blank spaces

thanks in advance
Roberto