[Home] [By Thread] [By Date] [Recent Entries]
Kenneth Reid Beesley wrote:
There is http://www.saxonica.com/documentation/functions/intro/normalize-unicode.xml which says it "Converts a string to Unicode normalized form NFC" so you could run your XML input through a stylesheet that transform text nodes and attribute values with e.g. <xsl:template match="text()"> <xsl:value-of select="normalize-unicode(.)"/> </xsl:template> <xsl:template match="@*"> <xsl:attribute name="{name()}" namespace="{namespace-uri()}" select="normalize-unicode(.)"/> </xsl:template> <xsl:template match="*"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template> -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



