| 
 
Subject: Re: [xsl] replacing diacritical marks with combining unicode  characters From: Terry Ofner <tofner@xxxxxxxxxxx> Date: Tue, 4 Mar 2008 16:42:14 -0500  | 
        <xsl:template match="@*|node()">
            <xsl:copy>
                <xsl:apply-templates select="@*|node()"/>
            </xsl:copy>
        </xsl:template>Terry Ofner 1541 Northbrook Drive Indianapolis, IN 46260 Voice: 317-870-1992 Fax: 317-870-7101
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/
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] replacing diacritical mar, Michael Kay | Thread | Re: [xsl] replacing diacritical mar, David Carlisle | 
| RE: [xsl] Use of data() function, Michael Kay | Date | Re: [xsl] replacing diacritical mar, David Carlisle | 
| Month |