On Feb 6, 2005, at 9:38 PM, Manisha Sathe wrote:
I am very new to fop - just started learning it.
 
1)I downloaded the fop - 0.20.5 - binary version for windows (.zip)
2)Unzipped it (D:\fop-0.20.5)
3)Trying to run D:\fop-0.20.5\fop.bat - i get o/p as mentioned in the document
http://apache.oss.eznetsols.org/xml/fop/
4)but at the end of it i got error ->
 
[ERROR] No Input file specified
 
What's missing ? JAVA_HOME is set properly.

Running D:\fop-0.20.5\fop.bat will give you the the usage, since you're not specifying an input file.


The USAGE is:
fop [options] [-fo|-xml] infile [-xsl file] [-awt|-pdf|-mif|-pcl|-ps|-txt|-svg|-at|-print] <outfile>


(the | means OR so [-fo|-xml] means either -fo OR -xml)

In the case of:
      D:\fop-0.20.5\fop.bat -xsl foo.xsl -xml foo.xml -pdf foo.pdf

foo.xsl represents the xslt file
foo.xml represents an input xml file
foo.pdf represents an output pdf file

and so on...

Here're six examples:

D:\fop-0.20.5\fop.bat foo.fo foo.pdf
D:\fop-0.20.5\fop.bat -fo foo.fo -pdf foo.pdf (does the same as the previous line)
D:\fop-0.20.5\fop.bat -xsl foo.xsl -xml foo.xml -pdf foo.pdf
D:\fop-0.20.5\fop.bat foo.fo -mif foo.mif
D:\fop-0.20.5\fop.bat foo.fo -print or fop -print foo.fo
D:\fop-0.20.5\fop.bat foo.fo -awt


5)I also tried to compile one servlet (which i got it from web) - i put inside the classpath fop.jar and all other jars those inside fop.bat. But i am getting errors

I don't know about servlets or embedding, but this might help:

http://xml.apache.org/fop/servlets.html

Please can anybody give me clue about it ? What am i doing wrong ?
 
regards
Manisha

Hope this helps!

Web Maestro Clay
--
<[EMAIL PROTECTED]> - <http://homepage.mac.com/webmaestro/>
My religion is simple. My religion is kindness.
- HH The 14th Dalai Lama of Tibet


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to