The nearest thing I can think of is (XSLT 2.0 only) to call the
normalize-unicode function specifying NFKD as the normalization form.
You will then have a string where the base characters and the accents are
adjacent characters.
You could then write an xsl:function to drop non-ASCII characters (perhaps -
I don't know exactly what you are wanting to do).
From: Jeff Sese <jsese(_at_)asiatype(_dot_)com>
Is there a way in xslt for me to get the base character of a character with
diacritic?
Like Ä? to a? I was thinking of using the translate function, but it there
are too many characters to include.
_________________________________________________________________
Windows Live? Messenger has arrived. Click here to download it for free!
http://imagine-msn.com/messenger/launch80/?locale=en-gb
--~------------------------------------------------------------------
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>
--~--