xsl-list
[Top] [All Lists]

Re: replacing parts of a string

2004-01-15 12:40:42

"Jonny Pony" <jonnypony666(_at_)hotmail(_dot_)com> wrote in message
news:Law14-F78xpTljBOh8s0000768c(_at_)hotmail(_dot_)com(_dot_)(_dot_)(_dot_)
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
select="."/></xsl:with-param>
</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="."/>
       </xsl:call-template>

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

         <xsl:with-param name="pStr"
          select="76rt,dsfg,dsfg"/>


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



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