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

Re: Translation of values inside variables XSLT 1.1

Subject: Re: Translation of values inside variables XSLT 1.1
From: Kevin <app.eng.kev@xxxxxxxxx>
Date: Mon, 13 Jun 2005 08:06:49 -0500
variables xslt
It might be a bit more difficult then this, but make sure that you
qualify your variable (parameters also) with a $. It is possible that
you might also need the curly brackets around the variable name.

<xsl:variabe name="dest">
       <xsl:copy-of select="translate($source, 'V1', 'V2')"/>
</xsl:variable>

OR

<xsl:variabe name="dest">
       <xsl:copy-of select="translate({$source}, 'V1', 'V2')"/>
</xsl:variable>

HTH

On 6/13/05, news@xxxxxxxxxxx <news@xxxxxxxxxxx> wrote:
> Hello List,
>
> I've a variable and want to change all values inside this from one specefic
> value to another one.
> I tried something like this
>
> <xsl:variabe name="dest">
>        <xsl:copy-of select="translate(source, 'V1', 'V2')"/>
> </xsl:variable>
>
> but it did'nt worked out.
>
> Does someone know how I can change Values inside a variable?
> Thanks for any Help!!
>
> Jan

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.