Given an element with a value of:
<xml_element>Distrib = SU & Prem &lt;&gt; 0</xml_element>
I need to turn &lt;
or &gt;
into <
or >
because a downstream app requires it in this format throughout the entire XML document. I would need this for quotes and apostrophes too. I am tryinging a character-map in XSLT 2.0.
<xsl:character-map name="specialchar">
<xsl:output-character character="'" string="&apos;" />
<xsl:output-character character=""" string="&quot;" />
<xsl:output-character character=">" string="&gt;" />
</xsl:character-map>