xsl-list
[Top] [All Lists]

[xsl] one function call twice for the same variable

2006-07-10 12:40:56
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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>