Dingjun Jia wrote: > <?xml version="1.0" encoding="UTF-8"?> > <doc> > <text>&#220;bung</text> > </doc>
This won't work. It should read Ü instead of &#220; You have 2 options. The right one: understand what generates it that way and fix the problem earlier in the pipeline; or the quick one: give it a run of disable-output-escaping, using an xsl transformer just before serialization, with a stylesheet like this: <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="@*"> <xsl:attribute name="{name()}"> <xsl:value-of select="." disable-output-escaping="yes"/> </xsl:attribute> </xsl:template> <xsl:template match="text()"> <xsl:value-of select="." disable-output-escaping="yes"/> </xsl:template> <xsl:template match="node()" priority="-1"> <xsl:copy><xsl:apply-templates select="node()"/></xsl:copy> </xsl:template> </xsl:stylesheet> (adjust to your needs) Toby --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
