<p>Classpath settings: You will need to include FOP and your XML Parser
in your classpath and so you might invoke FOP, if Xerces-J is your xml parser:
</p>
- <p><code>java -cp fop.jar;xerces.jar </code></p>
+ <p><code>java -cp fop.jar;xerces.jar;w3c.jar </code></p>
<p><code>org.apache.fop.apps.CommandLine fo-file pdf-file</code></p>
<p>If you want to use another sax parser, you will need to set the property
org.xml.sax.parser to any other SAX Parser class to use. The following example shows
the command line, if you use XP from James Clark:
</p>
<p><code>java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver</code></p>
- <p><code>-cp fop.jar;xerces.jar;xp.jar</code></p>
+ <p><code>-cp fop.jar;xerces.jar;xp.jar;w3c.jar</code></p>
<p><code>org.apache.fop.apps.CommandLine fo-file pdf-file</code></p>
<p>Note: The xerces jar file must be included, because xp has no dom support.</p>
</s3>
source XML file name, XSL file name and PDF file name as arguments. You will
need to include XT in your classpath and so you might invoke
</p>
- <p><code>java -cp fop.jar;xt.jar;xerces.jar</code></p>
+ <p><code>java -cp fop.jar;xt.jar;xerces.jar;w3c.jar</code></p>
<p><code>org.apache.fop.apps.XTCommandLine xml-file xsl-file pdf-file</code></p>
<p>Again, if your SAX Parser is other than Xerces, you will need to set the property
org.xml.sax.parser to the SAX Parser class to use.
transformation without using any pdf viewer by invoking FOP with the viewer
application. You will need to include FOP and your XML Parser in your classpath
</p>
- <p><code>java -cp fop.jar;xerces.jar</code></p>
+ <p><code>java -cp fop.jar;xerces.jar;w3c.jar</code></p>
<p><code>org.apache.fop.apps.AWTCommandLine fo-file </code></p>
<p>The viewer uses the swing classes.</p>
<p>Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all