This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
xref linkend
- From: Sean Wheller <swheller at bigpond dot net dot au>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Sat, 11 Jan 2003 23:41:29 +1100
- Subject: DOCBOOK-APPS: xref linkend
- Reply-to: swheller at bigpond dot net dot au
In the archives I found the message below which illustrates my problem. I also
found a solution for DSSSL from another list member.
However, I am using:
XSL Stylesheets V1.58.1
DocBook XML DTD V4.2
My xref points to a chapter element <chapter
id="introduction><title>Introduction</title>
The xref looks like this <xref linkend="introduction"/>
Has anyone come across this problem? If so is there a solution? Preferably
something I can add to my customization layer, rather than editing the
docbook xsl.
Also, has someone added this to the buglist?
>Subject: DOCBOOK-APPS: Re: DOCBOOK: xref or link?
From: Bob McIlvride <robert@cogent.ca>
>To: "docbook-apps@lists.oasis-open.org" <docbook-apps@lists.oasis-open.org>
>Date: Fri, 08 Jun 2001 10:24:49 -0400
>
> Xref will automatically generate the link text;
>
>I don't get the output that TDG suggests. TDG says this SGML:
>
> <para>A straight link generates the
> cross-reference text: <xref linkend="ch02">.
> </para>
>
>reasonably renders like this:
>
> A straight link generates the cross-reference text:
> Chapter 2, "The Second Chapter"
>
>My SGML:
>
> <para>Here is a test xref to
> <xref linkend="testoftables">.</para>
>
>renders like this:
>
> Here is a test xref to Chapter 3.
>
>I'd really like to get the name of the chapter in there, if possible.
>Any suggestions?
>Currently using:
>DocBook v. 4.1.2
>DocBook stylesheets v. 1.64
>OpenJade v. 1.3
Many thanks,
--
Sean Wheller
swheller@bigpond.net.au
XWriter