On 7/30/07, Keith Fahlgren <[EMAIL PROTECTED]> wrote: > On 7/30/07, Hinrich Aue <[EMAIL PROTECTED]> 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/f44659ebf --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
