[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Docbook
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|