JABakken at dstsystems.com wrote:
>
> Can I create an appendix as a separate document from the main document.
The answer is yes, but you'll have to do many things by hand. That is,
currently XXE will not help you in doing this.
[1] Define a template for an appendix. DocBook example: see attachment.
[2] Declare it in the XXE configuration file. DocBook example: see
attachment.
[3] Create, using a text editor, a ``master document'' referencing
chapters and appendices as external entities.
For example, this is the master document of the Power User's Guide:
--------------------------------------------------------------------
<?xml version='1.0' encoding='ISO-8859-1'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"../../distrib/config/docbook/dtd/V4.2/docbookx.dtd" [
<!ENTITY configure SYSTEM "configure.xml">
<!ENTITY bindings SYSTEM "bindings.xml">
<!ENTITY deploy SYSTEM "deploy.xml">
<!ENTITY configref SYSTEM "configref.xml">
<!ENTITY commandref SYSTEM "commandref.xml">
<!ENTITY css SYSTEM "css.xml">
]>
<article>
<articleinfo>
<title>XMLmind XML Editor - Power User's Guide</title>
<author>
<firstname>Hussein</firstname>
<surname>Shafie</surname>
<affiliation>
<orgname>Pixware</orgname>
<address>Immeuble Capricorne,
<street>23 rue Colbert</street>,
<postcode>78180</postcode> <city>Montigny Le Bretonneux</city>,
<country>France</country>,
Phone: <phone>+33 (0)1 30 60 07 00</phone>,
Fax: <fax>+33 (0)1 30 96 05 23</fax>,
Web: <otheraddr><ulink
url="http://www.xmlmind.com/xmleditor">www.xmlmind.com/xmleditor</ulink></otheraddr>
Email: <email>xmleditor-support at xmlmind.com</email></address>
</affiliation>
</author>
<date>March 19, 2003</date>
</articleinfo>
&configure;
&bindings;
&deploy;
&configref;
&commandref;
&css;
</article>
-------------------------------------------------------------------
[4] Use XXE to edit separate chapters and appendices. Never use XXE to
edit the master document (note that from V2.2, you'll have a warning if
you attempt to do so). But you can use XXE to check links, to print or
convert the master document.
We intend to improve XXE (expected in V2.4) by adding an easy to use
support for multi-file documents but this feature will probably not be
supported by Standard Edition, only by Professional Edition.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xxe-22-docbook-appendix-patch.zip
Type: application/x-zip-compressed
Size: 3378 bytes
Desc: not available
Url :
http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20030430/06e7998c/attachment.bin