This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]