Re: [docbook] Re: Announce: DocBook V5.0b1

From
Jirka Kosek <>
Date
2005-10-29T22:25:27+00:00
ID
Thread
Re: [docbook] Re: Announce: DocBook V5.0b1
Sam Steingold wrote:

> <1>
>       However XLink links are not checked during validation, while
>       xml:id/linkend links are checked for ID/IDREF consistency. It
>       depends on your needs what approach to internal linking is more
>       suitable for you.
>       One case where the XLink-based, fragment identifier scheme is
>       useful is when XInclude is being used. XML ID/IDREF links cannot
>       span XInclude boundaries.
> 
> this means that if my document lives in several files, I cannot combine
> them together using xinclude because I require link validation and
> cross-linking between document parts.  (I also produce chunked output
> thus xl:href="#dir" will not work for me anyway).

Have you tried this? AFAIK stylesheets internally process <bar 
xl:href="#foo">...</bar> in the almost same way as <bar><link 
linkend="foo">...</link></bar>. So you can't check consistency of links 
by XML validation, but stylesheets check links during processing, so you 
will at least get warning messages.

					Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail:      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í: XML schémata (včetně RELAX NG) 7.-9.11.
          *** DocBook 5.-7.12. *** XSL-FO 19.-20.12. ***
------------------------------------------------------------------