[oXygen-user] xinclude error for docbook block

Bram Vogelaar
Mon Feb 23 04:44:42 CST 2009


Hello All

i am trying to separate one of our docbook projects into smaller xml  
files using the following structure

manual.xml
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="http://www.oasis-open.org/docbook/xml/5.0/rng/docbookxi.rng 
" type="xml"?>
<book 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">
     <xi:include href="parts/info.xml"
         xmlns:xi="http://www.w3.org/2001/XInclude">
     </xi:include>
     <xi:include href="parts/part1.xml"
         xmlns:xi="http://www.w3.org/2001/XInclude">
     </xi:include>
	........
</book>

info.xml
<?xml version="1.0" encoding="UTF-8"?>
<info xmlns="http://docbook.org/ns/docbook" version="5.0">
	.......
</info>

which results in the following error
"E [oNVDL] element "info" from namespace "http://docbook.org/ns/ 
docbook" not allowed in this context"
While including the info block straight  in the manual.xml (copy &  
paste) there is no such error. Nor is this error triggered by
any of the other xi:included files.

could some one please point me in the right direction to x::include  
the info.xml file?

with regards
Bram



More information about the oXygen-user mailing list