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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: link


> From: Jeff Rancier <jeff.rancier@softechnics.com>
> 
> Hello.  I have the following in my docbook document:
> 
> <para><link linkend="refidref">See Section A. References for
> more.</link></para>
> 
> and at the end of my book I have:
> 
>   <appendix>
>     <title>References <anchor id="refidref"/></title>
>   </appendix>
> 
> When I generate HTML from this and click on the link reference, I get
> redirected to the appendix in the table of contents, not at the end of the
> document as I would expect.  Is this correct?  Or perhaps a problem with the
> XSL?

By putting the <anchor> element inside the <title>
element, the version 1.25 XSL stylesheets are
generating an HTML <a name="refidref"> element in the
*copy* of the title in the TOC as well as in the
title in the Appendix.  This appears to be fixed
in the version 1.29 stylesheets.

But why not just put the id="refidref" attribute in the
<appendix> start tag and drop the <anchor> (heh heh, sorry
about the pun).

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
The Santa Cruz Operation, Inc.              fax:   (831) 429-1887
                                            email: bobs@sco.com


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


Powered by eList eXpress LLC