OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] Empty link in no.anchor.mode mode

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

----- 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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]