This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: link
- To: docbook at lists dot oasis-open dot org, jeff dot rancier at softechnics dot com
- Subject: Re: DOCBOOK: link
- From: Bob Stayton <bobs at sco dot COM>
- Date: Thu, 15 Feb 2001 13:32:10 -0800 (PST)
- Cc: xae at sunsite dot dk
> 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
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org