[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Unicode accented letters to simple ASCII equivalents


Subject: Re: [xsl] Unicode accented letters to simple ASCII equivalents
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Fri, 10 May 2013 19:19:55 +0200

Jonina Dames wrote:

I'm trying to re-map any accented letters from Unicode (in the XML) to
simple, un-accented ASCII equivalents (in an output text file). Is there
a way to do this in XSLT 1.0?

If you use e.g.
translate(foo, 'aim', 'aei')
with two sufficiently long lists of characters that contain the mapping you can do it.



Current Thread
Keywords