RE: Docbook

Subject: RE: Docbook
From: Marcel Ruff <ruff@xxxxxxxxxxxxx>
Date: Thu, 17 Feb 2000 16:19:53 +0100
Hi,

i just tried DocBook (XML/XSL dbx106.zip from
http://www.nwalsh.com/docbook/xsl/index.html), the first
results you can see at http://www.xmlBlaster.org -> whitepaper.html

The pdf output (using fop_bin_0_12_0.jar from www.apache.org)
was not very nice (but release 0.12 is also very small :-)

Here is how i used it (Using SUN XML parser and XT XSL parser):

Generate HTML output:
=====================

   java
-Dcom.jclark.xsl.sax.parser=com.jclark.xsl.dom.SunXMLProcessorImpl
com.jclark.xsl.sax.Driver whitepaper.xml /opt/docbook/html/docbook.xsl
whitepaper.html


Generate XHTML output:
======================

   java
-Dcom.jclark.xsl.sax.parser=com.jclark.xsl.dom.SunXMLProcessorImpl
com.jclark.xsl.sax.Driver whitepaper.xml /opt/docbook/xhtml/docbook.xsl
whitepaper.xhtml


Generate fo output:
===================

   java
-Dcom.jclark.xsl.sax.parser=com.jclark.xsl.dom.SunXMLProcessorImpl
com.jclark.xsl.sax.Driver whitepaper.xml /opt/docbook/fo/docbook.xsl
whitepaper.fo


Generate pdf output:
====================
   First create the fo output (previous step).

   Download the fo tools from apache:
http://xml.apache.org/fop/running.html

   FOP is the world's first print formatter driven by XSL formatting
objects

      fop_bin_0_12_0.jar

   export CLASSPATH=$CLASSPATH:/opt/fop_bin_0_12_0.jar

	java -Dorg.xml.sax.parser=com.sun.xml.parser.Parser
org.apache.fop.apps.CommandLine whitepaper.fo whitepaper.pdf


hope this helps,

Marcel

-- 
Marcel Ruff
ruff@xxxxxxxxxxxxx
http://www.xmlBlaster.org


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • RE: Docbook
    • Marcel Ruff - Thu, 17 Feb 2000 16:19:53 +0100 <=