[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Which element for cross-document xref?
W. Borgert wrote:
> I'm using xref happily in my document. Now I like to split the
> source into chapters, xincluded by a master file. That way any
> xref from one file to the another becomes invalid, because an
> IDREF (xref linkend) has to point to an ID in the same document,
> right? Shall I use another element instead of xref?
You can either silently ignore such error messages when validating
chapter alone, or use olink linking:
http://www.sagehill.net/docbookxsl/Olinking.html
If you are using DocBook V5, you can use <xref xlink:href="#foo"/>
instead of <xref linkend="foo"/> to skip validation of ID/IDREFs.
--
------------------------------------------------------------------
Jirka Kosek e-mail: jirka@kosek.cz http://www.kosek.cz
------------------------------------------------------------------
Profesionální školení a poradenství v oblasti technologií XML.
Podívejte se na náš nově spuštěný web http://DocBook.cz
Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
Nejbližší termíny školení:
** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
------------------------------------------------------------------
http://xmlguru.cz Blog mostly about XML for English readers
------------------------------------------------------------------
S/MIME Cryptographic Signature
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]