Subject: [xsl] replaceing chars with entities From: "Szabo, Patrick \(LNG-VIE\)" <patrick.szabo@xxxxxxxxxxxxx> Date: Wed, 2 Jun 2010 14:09:20 +0200 |
Hi, I'm using XSLT 2.0 and Saxon 9 Im trying to replace certain chars with entities like this: <xsl:template match="text()"> <xsl:value-of select="replace(replace(replace(replace(., 'C', 'ß', 'i'), 'C$', 'ä', 'i'), 'C<', 'ü', 'i'), 'C6', 'ö', 'i')" disable-output-escaping="yes"/> </xsl:template> It just doesn't seem to to anything. If i do this: <xsl:template match="text()"/> all the text from the document is gone so the template matches...it just doesn't replace anything :-/ Any ideas ?! greetings Patrick Szabo XSLT-Entwickler Tel.: +43 (1) 534 52 - 1573 Fax: +43 (1) 534 52 - 146 Patrick.Szabo@xxxxxxxxxxxxx LexisNexis Verlag ARD Orac GmbH & Co KG Marxergasse 25, 1030 Wien FN 8333f, Handelsgericht Wien http://www.lexisnexis.at/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Applying XSL transformati, Dimitre Novatchev | Thread | Re: [xsl] replaceing chars with ent, Martin Honnen |
Re: [xsl] Applying XSL transformati, Michael Kay | Date | Re: [xsl] replaceing chars with ent, Martin Honnen |
Month |