[xep-support] Replace straight apostrophe with curly apostrophe
Kevin Brown
kevin at renderx.com
Sun Jan 17 15:33:33 PST 2010
yes. much better. Thanks Ken!
Kevin
-----Original Message-----
From: owner-xep-support at renderx.com [mailto:owner-xep-support at renderx.com]
On Behalf Of G. Ken Holman
Sent: Sunday, January 17, 2010 3:21 PM
To: xep-support at renderx.com
Subject: RE: [xep-support] Replace straight apostrophe with curly apostrophe
At 2010-01-17 14:33 -0800, Kevin Brown wrote:
>Just use a more qualified template match or a xsl:if test ...
>
>like text()[ancestor::node()='computeroutput']
Alternatively:
<xsl:template match="computeroutput//text() | literal//text()">
...just for the descendent text nodes...
</xsl:template>
. . . . . . . . . . Ken
>On Behalf Of Jacques Foucry
>Sent: Sunday, January 17, 2010 12:32 PM
>To: xep-support at renderx.com
>Subject: Re: [xep-support] Replace straight apostrophe with curly
apostrophe
>...
>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 ?
--
UBL and Code List training: Copenhagen, Denmark 2010-02-08/10
XSLT/XQuery/XPath training after http://XMLPrague.cz 2010-03-15/19
XSLT/XQuery/XPath training: San Carlos, California 2010-04-26/30
Vote for your XML training: http://www.CraneSoftwrights.com/f/i/
Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video
Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18
Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18
G. Ken Holman mailto:gkholman at CraneSoftwrights.com
Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/f/bc
Legal business disclaimers: http://www.CraneSoftwrights.com/legal
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at 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 at 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
More information about the Xep-support
mailing list