/ Fran�ois Beauregard <[EMAIL PROTECTED]> was heard to say:
| I have managed to generate documents to HTML using docbook-xsl using SAXON
| Here is a little part of my ant build file
| <!-- Generate HTML from XML -->
| <touch file="${basedir}/docs/${document.name}"/>
| <style processor="trax"
| basedir="${basedir}/docs"
| destdir="${dist.dir}"
| style="${basedir}/lib/docbook/html/chunk.xsl"
| includes="${document.name}"
| classpathref="project.class.path"
| />
|
| I would like to generate pdf using FOP.
Well, something like this:
<style processor="trax"
basedir="${basedir}/docs"
destdir="${dist.dir}"
style="${basedir}/lib/docbook/fo/docbook.xsl"
includes="${document.name}"
classpathref="project.class.path"
/>
should get you an FO file. And then it's probably possible to plug FOP into
Ant, but I can't say how off the top of my head. Maybe the FOP or Ant
docs say how?
Be seeing you,
norm
--
Norman Walsh <[EMAIL PROTECTED]> | Exuberance is beauty.--Blake
http://www.oasis-open.org/docbook/ |
Chair, DocBook Technical Committee |