Docbook 5 to webhelp: using folders
Posted: Thu Dec 29, 2011 2:03 am
Hi,
I am trying to create a proyect where xml files are distributed through some folders. When I try to transform it using the docbook5 to Webhelp predefined scenario, I get a wrong result. As an example, I attach a main.xml that calls a intro2.xml file, stored in the sub folder:
Sincerely,
Fran Pena
I am trying to create a proyect where xml files are distributed through some folders. When I try to transform it using the docbook5 to Webhelp predefined scenario, I get a wrong result. As an example, I attach a main.xml that calls a intro2.xml file, stored in the sub folder:
Code: Select all
<?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"?>
<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">
<title>book</title>
<part>
<title>First Part</title>
<xi:include href="sub/intro2.xml"/>
</part>
</book>
Code: Select all
<?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"?>
<chapter 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">
<title>Chapter Title</title>
<sect1><title>Sect1 Title</title>
<para>Text</para>
</sect1>
</chapter>
Fran Pena