RE: [xep-support] Replace straight apostrophe with curly apostrophe

From: Kevin Brown <kevin@renderx.com>
Date: Sun Jan 17 2010 - 14:33:25 PST

Just use a more qualified template match or a xsl:if test ...

like text()[ancestor::node()='computeroutput']

Kevin

-----Original Message-----
From: owner-xep-support@renderx.com [mailto:owner-xep-support@renderx.com]
On Behalf Of Jacques Foucry
Sent: Sunday, January 17, 2010 12:32 PM
To: xep-support@renderx.com
Subject: Re: [xep-support] Replace straight apostrophe with curly apostrophe

On 17 janv. 2010, at 20:19, Kevin Brown wrote:
Hi folks,

> If you are talking about changing all singles quotes in a string to double
> quotes, here is one (of many) ways ...

As Paul, I very interesting about this kind of transformation. But I don't
want to change every single quote into curtly quote.

In fact in my docs some single quote must stay single quote. This case only
between <litteral> or <computeroutput> tags.

Did you have an idea ?

Thanks in advance,
Jacques
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
http://www.renderx.com/terms-of-service.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
Received on Sun Jan 17 14:43:01 2010

This archive was generated by hypermail 2.1.8 : Sun Jan 17 2010 - 14:43:08 PST