The Crash Course to DocBook

2.3. The New Way: XSLTProc and FOP

Since the XML-based tools are much easier to use than the SGML-based tools, there is no software wrapper like the DocBook-tools around them. The basic utilities can be used directly.

The output formats are:

RTF is planned by the experimental releases of FOP.

On a RPM-based system, you will need the following software packages:

docbook-dtdXX-xml

DocBook's XML DTD (there's one package per version of the DTD)

docbook-style-xsl

Norman Walsh's XSL stylesheets for DocBook

libxml2

Daniel Veillard's XML library, needed by libxslt

libxslt

Daniel Veillard's XSLT conversion engine

java-1_4_2-sun

... or any other Java Runtime Environment, needed by fop

fop

XSL-FO processor

Most of these packages are usually preinstalled with your Linux distribution. For the other ones, use rpm -ih packagename.

You are now ready to edit XML/DocBook documents, then convert them to other formats. To do that, you will need the following commands: