xsl-list
[Top] [All Lists]

RE: [xsl] replacing diacritical marks with combining unicode characters

2008-03-04 12:09:40

The function fn:normalize-unicode() will do what you want, 
with a second argument of "NFC".

I'm not sure it will, because the input is using non-combining diacritical
marks. I think the answer is translate():

translate($in, '˘...', '̆...'

Michael Kay
http://www.saxonica.com/


--~------------------------------------------------------------------
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>
--~--