Splitting up the xml spec file

Ross Burton ross at burtonini.com
Tue May 9 06:10:49 PDT 2006


On Tue, 2006-05-09 at 09:01 +0100, Richard Hughes wrote:
> Now to include the xml documents, we need to use <xi:include../> which
> makes the main file non-valid docbook, and hence cannot be used with
> docbook2html (docbook2html is just a wrapper round openjade).
> 
> The best solution I've found if to use the following snippet:
> 
> xmllint --xinclude --postvalid --noent hal-spec-main.xml.in >
> hal-spec.xml
> docbook2html --nochunks hal-spec.xml -o .

I've been happily using xmlto to generate HTML from DocBook with
XInclude for over a year now:

$ xmlto html-nochunks foo.xml

Ross
-- 
Ross Burton                                 mail: ross at burtonini.com
                                          jabber: ross at burtonini.com
                                     www: http://www.burtonini.com./
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF





More information about the hal mailing list