Chapter 4. DocBook Transformation

For every output format exists a XSLT file in the xsl directory of the active project. For example for the epub format there is a file <PROJECTDIR>/xsl/epub.xsl. These files are customization layers for the DocBook-XSL stylesheets and can also be used outside of dbdoclet. The project file of a dbdoclet on the other hand is a fully functionable ant build file, which can also be used from the command line. Therefore you can use dbdoclet as an "editor" for your DocBook-XSL driver files and the corresponding ant build file. An output can be generated from the command line by using a target like dbdoclet.docbook.<FORMAT>, e.g. ant -f dbdoclet.xml dbdoclet.docbook.pdf.