in XSLT 2.0, you can use
<xsl:character-map name="charmap">
<xsl:output-character character="Δ" string="&#916;"/>
</xsl:character-map>
Question
I have an input xml like this:
...
<member name="Δ"></member>
...
When I'm applying the identity transformation (i.e. I want to keep this part of the input and I want to change other parts of it) then I get this:
...
<member name="Δ"></member>
...
How can I keep that part literally?
Solution
in XSLT 2.0, you can use
<xsl:character-map name="charmap">
<xsl:output-character character="Δ" string="&#916;"/>
</xsl:character-map>