[Home] [By Thread] [By Date] [Recent Entries]
On 19.03.2019 16:15, Christophe Marchand cmarchand@xxxxxxxxxx wrote:
I have a variable : <xsl:variable name="content" as="xs:string" select='EC'/> The serialize function from XPath 3 allows you to supply a character map but in XPath 3.1 map syntax serialize($content, map { 'method' : 'text', 'use-character-maps' : map
{ 'E' : 'oe', 'C' : 'ss' }})I am currently not sure there is a way to reference a map in the stylesheet, other than perhaps using map:join(document('')/*/xsl:character-map[@name =
'cm']/xsl:output-character/map-entry(@character, @string))instead of the hardcoded map { 'E' : 'oe', 'C' : 'ss' }}
|

Cart



