[xsl] one function call twice for the same variable

Subject: [xsl] one function call twice for the same variable
From: Renate <renaate@xxxxxxxxx>
Date: Mon, 10 Jul 2006 22:20:22 +0300
I need to call one function for the same variable twice (somethin like
recursive)...
How to do this?


<xsl:variable name="CustomerSignerLName"> <xsl:call-template name="change"> <xsl:with-param name="name_string" select="LNAME"/> <xsl:with-param name="delimiter" select="'-'"/> </xsl:call-template> </xsl:variable>


And once again with the same parameter: <xsl:call-template name="change"> <xsl:with-param name="name_string" select="$CustomerSignerLName"/> <xsl:with-param name="delimiter" select="'-'"/> </xsl:call-template>

And twice with another parameter:
          <xsl:call-template name="change">
			<xsl:with-param name="name_string" select="$CustomerSignerLName"/>
    		        <xsl:with-param name="delimiter" select="' '"/>
	 </xsl:call-template>

          <xsl:call-template name="change">
			<xsl:with-param name="name_string" select="$CustomerSignerLName"/>
    		        <xsl:with-param name="delimiter" select="' '"/>
	 </xsl:call-template>

How to write it correctly?

-- XSL beginer

Current Thread