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: Newbie - xref end tag problem


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


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