From: Keiron Liddle Date: Wed, 2 Aug 2000 04:38:28 +0000 (+0000) Subject: added w3c.jar to classpath info X-Git-Tag: pre-columns~302 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eecef24471b668622c68daf2ef31165e649c1799;p=xmlgraphics-fop.git added w3c.jar to classpath info git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193575 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/xml-docs/fop/running.xml b/docs/xml-docs/fop/running.xml index 9acdedd5d..4eedf1a19 100644 --- a/docs/xml-docs/fop/running.xml +++ b/docs/xml-docs/fop/running.xml @@ -36,14 +36,14 @@

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:

-

java -cp fop.jar;xerces.jar

+

java -cp fop.jar;xerces.jar;w3c.jar

org.apache.fop.apps.CommandLine fo-file pdf-file

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:

java -Dorg.xml.sax.parser=com.jclark.xml.sax.Driver

-

-cp fop.jar;xerces.jar;xp.jar

+

-cp fop.jar;xerces.jar;xp.jar;w3c.jar

org.apache.fop.apps.CommandLine fo-file pdf-file

Note: The xerces jar file must be included, because xp has no dom support.

@@ -54,7 +54,7 @@ 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

-

java -cp fop.jar;xt.jar;xerces.jar

+

java -cp fop.jar;xt.jar;xerces.jar;w3c.jar

org.apache.fop.apps.XTCommandLine xml-file xsl-file pdf-file

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. @@ -65,7 +65,7 @@ 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

-

java -cp fop.jar;xerces.jar

+

java -cp fop.jar;xerces.jar;w3c.jar

org.apache.fop.apps.AWTCommandLine fo-file

The viewer uses the swing classes.

Note: If you are using java 2 or later (i.e. jdk 1.2. or later) you can put all