xsl-list
[Top] [All Lists]

[xsl] replacing diacritical marks with combining unicode characters

2008-03-04 11:13:26
I have input with many dictionary entries, including copy such as this edited pronunciation key:

<div class="story">
        <p>PARTIAL PRONUNCIATION KEY</p>
        <p>a˘ pat, a¯ pay, âr care, ä father, e˘ pet, e¯ bee </p>
</div>

I need to replace the non-combining characters such as the breve ˘ (&#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



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