Re: [xsl] Flattening characters to plain latin

Subject: Re: [xsl] Flattening characters to plain latin
From: Peter Hickman <peter@xxxxxxxxxxxxx>
Date: Thu, 15 Feb 2007 17:03:59 +0000
Michael Kay wrote:
In XPath 2.0 I think you can achieve this using

codepoints-to-string(string-to-codepoints(normalize-unicode($in, 'NFKD'))[.
lt 127])

This splits composite characters into the base character plus modifiers,
then strips off the modifiers.

Michael Kay
http://www.saxonica.com/
Thanks that is just what I wanted. All I want now is MarkLogic to implement it!

Thanks but I think that the long way is rearing it's ugly head.

Current Thread