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@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@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@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.htmlReceived on Sun Jan 17 15:34:38 2010
This archive was generated by hypermail 2.1.8 : Sun Jan 17 2010 - 15:34:39 PST