This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Docbook XML - including files
On 01 Aug 2001 09:58:48 +0200, Yann Dirson wrote:
> On Wed, Aug 01, 2001 at 05:22:03PM +1000, Robert Collins wrote:
> > This isn't a docbook-per se question..
> >
> > what I'd _like_ to do is to have foo include a set of separate files
> > (say oen for each section of the article foo).
> >
> > However using <!ENTITY ..> in the beginning of foo.xml spits parsing
> > errors... any hints on this one?
>
> include foo as a parameter entity instead:
>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
> "docbookx.dtd" [
> <!ENTITY % foo SYSTEM "foo.xml">
> <!ENTITY bar SYSTEM "bar.xml">
> %foo;
> ]>
> &bar;
Thanks! While not quite as intuitive as being able to include it does
work well - I've structured the files into a set of entities listing
different types of includes, and those separate files now allow
semi-distrubted authoring - my original goal...
Rob
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org