Re: convert XML to NFC
well it's probably quicker to use a tool treating the file as plain text (since the unicode normalisation should not break the xml)
That solution (and Martin Honnen's) will only normalize the content of attribute and text nodes. They won't normalize element and attribute names, or comments and processing instructions.
I would be inclined to do this at the serialization level:
<xsl:output method="xml" normalization-form="NFC"/> <xsl:template match="/"> <xsl:copy-of select="."/> </xsl:template>
Michael Kay Saxonica
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format