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] | [Elist Home]


Subject: DOCBOOK-APPS: xref linkend


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




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


Powered by eList eXpress LLC