List Info

Thread: Re: character maps




Re: character maps
user name
2007-07-30 10:24:48
On 7/30/07, Keith Fahlgren <abdelazergmail.com> wrote:
> On 7/30/07, Hinrich Aue <hinrich.auelci-software.com> wrote:
> > We have to replace " (ascii quotes) with
unicode quotes.
> > The documents are big and already written. Also
using ascii for this is a
> > lot easier for authoring. You don't want to copy
and paste Unicode
> > characters in the xml source all the time, while
you have th ascii quotes on
> > your keyboard.
> >
> > Also we want to exchange the ascii - (dash) with a
longer Unicode dash.
>
> Hinrich,
>
> Here's the XSLT2 we use internally to "fix"
straight quotes into
> curlies. Please note that transformations like this are
both
> error-prone and language-specific, so this isn't a
"use this blindly"
> fix. Additionally, you may want to adjust the elements
in which you do
> no replacements.
>

Here's a link to same: http://pastebin.com/f44
659ebf

------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )