Using xsl:character-map on text nodes only
Posted
by
jramos95
on Stack Overflow
See other posts from Stack Overflow
or by jramos95
Published on 2011-01-13T16:40:11Z
Indexed on
2011/01/13
16:53 UTC
Read the original article
Hit count: 190
xslt
I am trying to create a generic stylesheet that can convert all Latin characters in Unicode to uppercase ASCII characters. Using <xsl:character-map>
works well except for one thing: namespaces. The character map converts all of my namespaces to upper case, which I do not want.
Is there a way to utilize a character map to do what I want to all the other nodes while leaving the namespaces untouched? I see the disable-output-escaping
attribute might be an option, but I haven't been able to make it work.
© Stack Overflow or respective owner