[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Re: How to validate DocBook 5 with XInclude?
Boris wrote: > Thanks for the link! Out of interest: Is this a DocBoook speciality or > you always have to include documents first when you want to validate? It depends on what you want. Of course it possible to validate XML document without resolving XIncludes but then you can't be sure that after resolving document will be also valid. If you will include chapter inside chapter you will not see error until you resolve includes as standalone included chapter is valid, and it is possible to have XInclude element inside chapter. If you want to validate without resolving XIncludes, you should use DocBook schema which allows xi:include elements -- docbookxi.rng or docbookxi.rnc from http://www.docbook.org/xml/5.0/rng/ -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]