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] Apache modules for serving DocBook


Hi,

As I understood, you need to process your XML documents on the server to 
dynamically generate XHTML output. If Cocoon or Forrest properly handle 
the XML transformation, you still need to find a solution to minimize 
the compilation time, right? If I were you, I would:

1. Modularize my DocBook documents.

    Note:    What I mean by modularization is the way DocBook Website 
source files are modularized. You'd                   write separate XML 
documents and structure them in an XML layout file.

2. Write an XSLT style sheet to resolve XML documents from the layout 
file and chunk them.

The reason for which I proposed this method is that you can avoid 
transforming source files that have not been modified.

Regards,
Sina

Tristan Fiedler wrote:

> I have a series of chapters (marked up with DocBook XML) stored in a 
> mysql database.  I would like them to be rendered as both HTML and pdf 
> through a webpage. This is creating an online book.
>
> What is the preferred / efficient method to automate this using apache 
> ?  Do I need to run an XSLT and XSLFO each time?  I would prefer not 
> to store the HTML and pdf, but create them on the fly if that is not 
> to time consuming.  Most chapters are about 2500 words of text, plus 
> markup, which can be up to 50% more.  Images are also present.
>
> Cheers,
>
> Tristan
> ------------------------------
> Tristan J. Fiedler
> Postdoctoral Fellow - Stein Lab
> Cold Spring Harbor Laboratory
>



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