This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Newbie - xref end tag problem
- From: Bob Stayton <bobs at caldera dot com>
- To: Douglas du Boulay <ddb at R3401 dot rlem dot titech dot ac dot jp>,docbook at lists dot oasis-open dot org
- Date: Tue, 12 Feb 2002 00:07:26 -0800
- Subject: Re: DOCBOOK: Newbie - xref end tag problem
- References: <E16aUj5-0003B5-00@jack.rlem.titech.ac.jp>
On Tue, Feb 12, 2002 at 01:39:31PM +0900, Douglas du Boulay wrote:
> Sorry to be bothering you again,
> but I just noticed that if I use a xref tag like this:
>
> <XRef LinkEnd="PREVUE-guide" EndTerm="PREVUE-guide-short"/>
>
> as suggested by TDG here: http://www.docbook.org/tdg/en/html/xref.html
> see the example: <xref linkend="ch04" endterm="ch04short"/>
>
> Then in the HTML rendering I see "PREVUE>" apropriately hyperlinked,
> but with a trailing > symbol.
>
> On the other hand ommiting the end tag "/"
> <XRef LinkEnd="PREVUE-guide" EndTerm="PREVUE-guide-short">
> I get the desired result: "PREVUE"
>
> Using version 1.74b stylesheets with
> jade:I: Jade version "1.2.1"
> jade:I: SP version "1.3.4"
>
> To omit or not to omit, that is the question.
Omit / if your files are SGML, not omit if your
files are XML. That is one of the differences
between SGML and XML syntax. Your files must be SGML since
they are using tag names with uppercase letters
(XML tag names are case sensitive and DocBook XML
uses all lowercase names).
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com