This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ambiguity in <xref> regarding cross-reference text


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]