[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Re: replacing parts of a string

Subject: [xsl] Re: replacing parts of a string
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 15 Jan 2004 20:40:42 +0100

"Jonny Pony" <jonnypony666@xxxxxxxxxxx> wrote in message
> Hi,
> forgot the previous mail:
> How and where must I customize your template to pass only a string.
> Something like:
> <xsl:call-template name="LongString">
> <xsl:with-param name="stringIn"><xsl:value-of
> </xsl:call-template>
> Thanks
> Jonny

You already have this in the example:

       <xsl:call-template name="str-map">
         <xsl:with-param name="pFun" select="$vTestMap"/>
         <xsl:with-param name="pStr" select="."/>

So, just specify the value of the "pStr" parameter, e.g.:

         <xsl:with-param name="pStr"

Dimitre Novatchev.
FXSL developer,

http://fxsl.sourceforge.net/ -- the home of FXSL
Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread