xsl:character-map to replace special characters
问题 Given an element with a value of: <xml_element>Distrib = SU & Prem <> 0</xml_element> I need to turn < or > 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="'" /> <xsl:output-character character=""" string=""" /> <xsl:output-character