xsl-list
[Top] [All Lists]

character replacement

2005-01-07 08:42:30
Hello,

i want to replace in my xml file all occurrences of € with € because it 
should be display in my pdf in the right way.

I tried it with

<xsl:template match="@*|*">
        <xsl:value-of select="translate(.,'€','&#8364;')"/>
</xsl:template>

or

<xsl:template match="@*|*">
        <xsl:value-of select="replace(.,'€','&#8364;')"/>
</xsl:template>
but the function replace is not recognized

Does anybody know how to get this working?

thanks and best regards
Sven

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



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