OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] Big files, book root


Hello Dave,

Hope you are well.

On Thursday 29 June 2006 09:18, Dave Pawson wrote:
> I've just finished ( and had fun doing) a fairly big .pod file
> conversion to docbook.
> About 200 files in all. I created each as a chapter.
>
> Eventually I derived a stack of entity definitions
> and then included them using the entity value.
>
> I *think* (hope?) I'm getting out of date with my use of entities.
> What else can I use in the 'book' file which will
>
> a) allow a full toc
> b) allow chunking (to keep file size processing down).
> c) provide a book in one file per chapter html format.
>
> Can any of the linking systems help here please?

You can use XInclude to bring in each of the chapters

<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" 
    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"; [
<!ENTITY % xinclude SYSTEM '../libs/xinclude.mod'>
%xinclude;
]>


>
> I'm thinking of the way that Norm has enabled processing
> of significant web sites by a two stage process, yet
> has the full linking at the root of the document?

Process your first stage with xmllint and arguments --xinclude --noent

This will give you a single XML instance containing all XInclude or Entities 
expanded.

-- 
Ask me about the Monkey.

Sean Wheller
Technical Author
sean@inwords.co.za
+27-84-854-9408
http://www.inwords.co.za


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]