xsl-list
[Top] [All Lists]

Re: Translation of values inside variables XSLT 1.1

2005-06-13 06:06:49
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(_at_)swisslab(_dot_)de <news(_at_)swisslab(_dot_)de> 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

--~------------------------------------------------------------------
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>
--~--



--~------------------------------------------------------------------
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>
--~--