Subject: Re: [xsl] one function call twice for the same variable From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Mon, 10 Jul 2006 16:44:27 -0400 |
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?
Cheers, Wendell
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] one function call twice for t, Renate | Thread | [xsl] Obtaining Graphic File Width, Ryan Lubben |
RE: [xsl] replace -x to -X, Michael Kay | Date | [xsl] Trying to figure out the chil, Austin, Darrel |
Month |