This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: ambiguity in <xref> regarding cross-reference text
- From: Bob Stayton <bobs at caldera dot com>
- To: "Robert P. J. Day" <rpjday at mindspring dot com>,docbook mailing list <docbook at lists dot oasis-open dot org>
- Date: Mon, 25 Nov 2002 13:27:36 -0800
- Subject: Re: DOCBOOK: ambiguity in <xref> regarding cross-reference text
- References: <Pine.LNX.4.44.0211242004540.2197-100000@dell>
On Sun, Nov 24, 2002 at 08:07:43PM -0500, Robert P. J. Day wrote:
>
> again, nitpicky, but in the online TDG 2.0.7, in the explanation
> of <xref>, we read:
>
> "... If the Endterm attribute is specified, the content of the
> element pointed by by Endterm must be used as the text of the
> cross-reference ... If the object pointed to has a specified
> XRefLabel, that should be used as the cross-reference text."
>
> and if both happen to be true? it's not clear from the <xref>
> page which takes precedence.
I think this is perhaps an issue of stylesheet policy, not
a DTD policy.
In any case, for the XSL stylesheets the xreflabel takes
precedence over the endterm.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
The SCO Group fax: (831) 429-1887
email: bobs@sco.com