This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: [docbook-apps] is docbook the right tool for the job?
- From: "Wills, Robert" <Robert dot Wills at worksuite dot com>
- To: 'Jason Lewis' <jason at dickson dot st>, docbook-apps at lists dot oasis-open dot org
- Date: Thu, 4 Sep 2003 18:37:35 +0100
- Subject: RE: [docbook-apps] is docbook the right tool for the job?
-----Original Message-----
From: Jason Lewis [mailto:jason@dickson.st]
Sent: 03 September 2003 04:47
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] is docbook the right tool for the job?
> I want to have a printed catalogue for my business, of all the products
> we sell. I have a database that has all the information in it and I was
> hoping to generate the catalogue from my database into a docbook format
> using perl, and then generate a PDF from it.
You could always write a program which reads your database and outputs
XSL:FO markup directly, and then feed the resulting file through FOP or
other rendering engine to produce PDF. Having been inspired by Dave Pawson's
XSL:FO book we wrote some Java to do this using the JDOM library to build an
in-memory XML tree and serialize to file. Works very well and you get full
access to those features of XSL:FO supported by your rendering engine. IMHO
DocBook is not so good for non-linear presentation such as you may want for
a product catalogue.
Thanks,
Rob
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.