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
bobs sagehill.net
----- Original Message -----
From: "ben.guillon" <ben.guillon gmail.com>
To: <docbook-apps lists.oasis-open.org>
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: docbook-apps-unsubscribe lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
>
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribe lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help lists.oasis-open.org
|