DocBook CookBook
Updated
06 Mar 2008
    Linking
      +Using xinclude <-
       Using xpointer with xmllint
    DocBook XSL
    Printing

Using xinclude with DocBook 5.0

Problem

You want to use the xinclude with DocBook 5.0.

Solution

DocBook 5.0 works well with xinclude. There is a version of the DocBook 5.0 schema that includes xinclude functionality. The schema can be found at http://www.docbook.org/xml/5.0/rng/ in the file named: docbookxi.rng.

Discussion

Namespaces are powerful constructs, but they require attention to detail, especially when you move from a non-namespaced to a namespaced environment.