[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: replacing parts of a string

Subject: Re: replacing parts of a string
From: "Dimitre Novatchev" <dnovatchev@xxxxxxxxx>
Date: Thu, 15 Jan 2004 20:40:42 +0100
stri parts
"Jonny Pony" <jonnypony666@xxxxxxxxxxx> wrote in message
news:Law14-F78xpTljBOh8s0000768c@xxxxxxxxxxxxxx
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.