This is the skeleton I use. First the master document: 

<?xml
version="1.0" encoding="UTF-8"?> 

<?xml-model
href="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng";
schematypens="http://relaxng.org/ns/structure/1.0";?>
<article
xmlns="http://docbook.org/ns/docbook";

xmlns:xi="http://www.w3.org/2001/XInclude";

xmlns:xlink="http://www.w3.org/1999/xlink"; version="5.0"
revision="$Id$">
 <info>
 <title>The master document</title>
 <author>

<personname>Authors name</personname>

<email>some_mail@some_where.com</email>
 </author>
 </info>


<xi:include href="part01.xml" parse="xml"/>
 <xi:include
href="part02.xml" parse="xml"/>

</article>

And then for each part I
use the following structure

<?xml version="1.0"
encoding="UTF-8"?>
<?xml-model
href="http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng";


schematypens="http://relaxng.org/ns/structure/1.0";?>
<sect1
xmlns="http://docbook.org/ns/docbook";
xmlns:xlink="http://www.w3.org/1999/xlink";
 version="5.0"
revision="$Id$">
 <title>Introduction</title>

 <para />


</sect1>

/Johan

2011-12-17 10:40 skrev Jeroen Baten: 

> Hi, 
> 
> I
want to migratie a couple of my books to docbook 5. I have exported
them
> to docbook using OpenOffice. But I get an error regarding the
xi:include
> element. Can someone tell me what I am doing wrong
please?

 

Reply via email to