On 18 janv. 2010, at 00:20, G. Ken Holman wrote:
Hello folks,
I came back to this topic because I found a new issue (i think I've already the explanation,  but I want your opinion.
> Alternatively:
> 
>  <xsl:template match="computeroutput//text() | literal//text()">
>    ...just for the descendent text nodes...
>  </xsl:template>
In my Custom Stylesheet I've put that :
        <xsl:param name="singlequote">
                <xsl:text>'</xsl:text>
        </xsl:param>
        <xsl:param name="curlyquote">
                <xsl:text>’</xsl:text>
        </xsl:param>
        <xsl:template match="d:para/text() | d:title/text()">
                <xsl:value-of select="translate(.,$singlequote,$curlyquote)"/>
        </xsl:template>
Some where else, I redefine the generated text for figure link :
        <l:context name="xref-number-and-title">
                <l:template name="figure-jf" text="figure %n"/>
                <l:template name="chapter" text="Chapitre %n, %t"/>
        </l:context>
And in my XML Docbook file I have something like that :
<para>As you can see on <xref linkend="fig-1"/>
<figure xml:id="fig-1>
        <title>From Alice's home directory</title>
        ...
</figure>
In the figure legend the straight quote is change into curly quote but not in the reference.
I suppose it because the <xref> is resolve before the template is applied to <title>.
Is there a solution to solve this issue, except moving the <xref> after the figure ?
Thanks in advance for your help,
Best regards,
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
Received on Mon Feb 15 08:13:28 2010
This archive was generated by hypermail 2.1.8 : Mon Feb 15 2010 - 08:13:35 PST