Re: Problem, please help ASAP !
Oleg Hi - this is Roni - also from MultiConn. Where & How did you cross my question regarding FOP ?!? It's quite strange that you of all people replied, don't you think ? Do you know how to use the FOP well ? Does experanto uses it too ?! I need some background and help with it - If you are my person to talk too, please let me know, I will probably have to use this code in a project for Mataf. 052-719871 Thanks. Roni, MultiConn. - Original Message - From: Oleg Tkachenko To: [EMAIL PROTECTED] Sent: Sunday, June 02, 2002 1:26 PM Subject: Re: Problem, please help ASAP ! roni nemerovsky - hotmail wrote:> I downloaded the zipped bin file and extracted it.> When I try to run an example inorder to view the output, I get the> following output.> The input file is one of those extracted from your web site (with no> changes).> C:\fop-0.20.3>fop -xsl xml2pdf.xsl -xml build.xml -pdf a.pdfYou probably misunderstood what particular xml2pdf.xsl stylesheet is intendedfor. That's not generic xml to pdf stylesheet, instead, as it stated indocs/readme it's "a stylesheet, to convert xslfoRef.xml to pdf". It doesrequire particular xslfoRef.xml (or similar by xml structure) file as xmlsource. Being applyed to an arbitrary xml, as you did with build.xml I believea very likely it'll transform it to a non valid fo document, probably evenill-formed or empty. So try insteadfop -xsl xml2pdf.xsl -xml xslfoRef.xml -pdf a.pdf--Oleg TkachenkoMulticonn International, Israel
Re: Problem, please help ASAP !
roni nemerovsky - hotmail wrote: I downloaded the zipped bin file and extracted it. When I try to run an example inorder to view the output, I get the following output. The input file is one of those extracted from your web site (with no changes). C:\fop-0.20.3>fop -xsl xml2pdf.xsl -xml build.xml -pdf a.pdf You probably misunderstood what particular xml2pdf.xsl stylesheet is intended for. That's not generic xml to pdf stylesheet, instead, as it stated in docs/readme it's "a stylesheet, to convert xslfoRef.xml to pdf". It does require particular xslfoRef.xml (or similar by xml structure) file as xml source. Being applyed to an arbitrary xml, as you did with build.xml I believe a very likely it'll transform it to a non valid fo document, probably even ill-formed or empty. So try instead fop -xsl xml2pdf.xsl -xml xslfoRef.xml -pdf a.pdf -- Oleg Tkachenko Multiconn International, Israel
Problem, please help ASAP !
Help please ! I downloaded the zipped bin file and extracted it.When I try to run an example inorder to view the output, I get the following output.The input file is one of those extracted from your web site (with no changes). I'm working on win95 , and the FOP version is fop-0.20.3 here is a copy of the run command and the output: -C:\fop-0.20.3>fop -xsl xml2pdf.xsl -xml build.xml -pdf a.pdf C:\fop-0.20.3>java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\avalon-framework-4.0.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar orgapache.fop.apps.Fop -xsl xml2pdf.xsl -xml build.xml -pdf a.pdf.INFO]: FOP 0.20.3[INFO]: building formatting object tree[INFO]: Parsing of document complete, stopping renderer[INFO]: Parsing of document complete, stopping renderer[ERROR]: / by zero[ C:\fop-0.20.3>- Please send a response ASAP ! Thanks.Roni Nemerovsky. [EMAIL PROTECTED]