I have a variable :
<xsl:variable name="content" as="xs:string" select='ϧ'/>
I want to transform special caracters according to a character-map
definition (I think it's much easier to maintain) :
<xsl:character-map name="cm">
<xsl:output-character character="œ" string="oe"/>
<xsl:output-character character="ß" string="ss"/>
</xsl:character-map>
Something like
<xsl:variable name="escaped" as="xs:string"
select="escape-according-tocharacter-map($content, 'cm')"/>
Is there a way to do it with XSLT 3.0 ?
Best regards,
Christophe
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--