[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Is there a way to use character-map to do replacements
I have a variable : <xsl:variable name="content" as="xs:string" select='EC'/> I want to transform special caracters according to a character-map definition (I think it's much easier to maintain) : B <xsl:character-map name="cm"> B B B <xsl:output-character character="E" string="oe"/> B B B <xsl:output-character character="C" string="ss"/> B </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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|