[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: replacing diacritical marks with combining unicode

Subject: Re: replacing diacritical marks with combining unicode characters
From: John Snelson <john.snelson@xxxxxxxxxx>
Date: Tue, 04 Mar 2008 18:59:17 +0000
Re:  replacing diacritical marks with combining unicode
Hi Terry,

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

John

Terry Ofner wrote:
I have input with many dictionary entries, including copy such as this edited pronunciation key:

<div class="story">
    <p>PARTIAL PRONUNCIATION KEY</p>
    <p>aK pat, aB/ pay, C"r care, C$ father, eK pet, eB/ bee </p>
</div>

I need to replace the non-combining characters such as the breve K (&#728;) with the combining form: (&#774;). Is there a way to set up a table so that when the processor encounters the &#728; character it will swap it for the &#774;? Will an ENTITY listing work? Is so, where does one put such an entity listing?

Terry

-- John Snelson, Oracle Corporation http://snelson.org.uk/john Berkeley DB XML: http://www.oracle.com/database/berkeley-db/xml XQilla: http://xqilla.sourceforge.net

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.