I am getting below error while using character-map feature of XSLT 2.0 in my code.
The element 'stylesheet' in namespace 'http://www.w3.org/1999/XSL/Transform' has invalid child element 'character-map' in namespace 'http://www.w3.org/1999/XSL/Transform'
Here is my XSLT declaration
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:character-map name="a">
<xsl:output-character character="'" string="&apos;"/>
</xsl:character-map>
<xsl:output indent="yes" use-character-maps="a"/>
Please help on how to use character-map in XSLT.
xsl:character-mapcorrectly, but like the others mentioned .net doesn't support XSLT 2.0. This question may help with options: stackoverflow.com/questions/1525299/xpath-and-xslt-2-0-for-net - Daniel Haley