xsl-list
[Top] [All Lists]

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

2013-05-10 12:19:59
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, 'áéí', 'aei')
with two sufficiently long lists of characters that contain the mapping you can do it.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--