I think it is a bug. That template for "link" in mode="no.anchor.mode" is
too simple. It does not take into account the endterm text that should be
generated in this case. The idea is to generate the text without making it
an active link. Can you file a bug report on the SourceForge site?
Bob Stayton
Sagehill Enterprises
DocBook Consulting
[EMAIL PROTECTED]
----- Original Message -----
From: "ben.guillon" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, July 23, 2007 2:08 PM
Subject: [docbook-apps] Empty link in no.anchor.mode mode
Hello,
I've been trying to use the up to date Docbook Project common
stylesheets, in order to add olink and powerful xref features in
dblatex.
I've a section title containing a <link> like this:
<section id="section2">
<title>Only a link in it [<link linkend="ch04"
endterm="ch04short"></link>]</title>
...
</section>
And:
<xref xrefstyle="select:title" linkend="section2"/>
The link content is empty in the produced xref markup, which is what
gives the no.anchor.mode in common/titles.xsl:
<xsl:template match="link" mode="no.anchor.mode">
<xsl:apply-templates/>
</xsl:template>
The question is: is it the expected result? Shouldn't it take into
account the possibly existing @enterm?
Regards,
BG
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]