Re: [xsl] XSL with CSS

Subject: Re: [xsl] XSL with CSS
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Mon, 06 Mar 2006 08:43:11 -0700
koteshwar.venigalla@xxxxxxxxx wrote:

Thanks David,

I am using Apache's FOP.


From the docs[http://www.re.be/css2xslfo/1_3/manual.pdf]:

There are six packages you can run from the command-line: one that produces plain
xsl-fo, one that returns the output of xep, a product from RenderX (http://www.
renderx.com), another that returns the output of XSLFormatter, a product from Antenna
House (http://www.antennahouse.com), yet another that returns the output of
Xinc, a product from Lunasil ltd (http://www.lunasil.com) and finally, two that run
fop (http://xml.apache.org/fop/). One is for version 0.20.5 and the other for version
0.91beta. The 0.20.5 one comes with a filter that removes a few properties, which are
not supported by fop. This makes fop complain less.
You need jdk1.3 or higher to run the packages. For 1.3 you should create a
classpath with a namespace-aware xml parser and an xslt processor. The commandlines
look as follows for plain csstoxslfo:
<snip/>


The rest of the documenation runs you through the process step by step. In your case you will need the css2fop and css2fopnew jars... the rest of the jars, except for css2xslfo are for other processors. you should still hang onto them, and all of them rely on css2xslfo, so thats needs to be in the same directory as well... if you plan to use this project often, I would place them into a known directory on your systems classpath, or add the location of these jar files to your classpath...

Either way, the docs will get you where you need to be.

Best of luck!

Current Thread