Using fop to generate csv
Hello i am new to fop formatting :S and i need help with page formatting . i want to put values from an xml into csv in text mode the problem i am having is that when i generate the simple example of hello world i get a full page of text full of white lines, how can i remove this white lines? i only need to have the file with no pages no margins etc . all text in the same file with my own breaks. any help or suggestion to see examples will be helpfully many thx to all - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Problem with java virtual machine from ibm
it is, the question is that i dont want (i can not :S) change anything in the lib of jre, can i change de version of xalan or xerces by code? with this it does NOT works: # BEGIN writeEnvironmentReport(Revision: 1.31): Useful stuff found: version.DOM.draftlevel=2.0fd java.class.path=/home/oscar/fop/fop-0.20.5/build/fop.jar:/home/oscar/fop/fop-0.20.5/lib/xercesImpl-2.2.1.jar:/home/oscar/fop/fop-0.20.5/lib/xalan-2.4.1.jar version.JAXP=1.1 or higher java.ext.dirs=/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ext # BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path xml.jar-apparent.version=xml.jar present-unknown-version xml.jar-path=/home/oscar/sources/IBMJava2-142/bin/../jre/lib/xml.jar #- END Listing XML-related jars in: foundclasses.sun.boot.class.path - version.xerces2=XML4J 4.3.3 version.b2bxml=1.2.1 version.xerces1=not-present version.xalan2_2=XSLT4J Java 2.6.3 version.xalan1=not-present version.ant=not-present java.version=1.4.2 version.DOM=2.0 version.crimson=not-present sun.boot.class.path=/home/oscar/sources/IBMJava2-142/bin/../jre/lib/core.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/graphics.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/security.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/server.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/xml.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/charsets.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmorbapi.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmorb.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjsseprovider.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjssefips.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmcertpathprovider.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjcefw.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjgssprovider.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmpkcs.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjaaslm.jar version.SAX=2.0 version.xalan2x=XSLT4J Java 2.6.3 #- END writeEnvironmentReport: Useful properties found: - # YAHOO! Your environment seems to be OK. with this it works: # BEGIN writeEnvironmentReport($Revision: 1.14 $): Useful stuff found: version.DOM.draftlevel=2.0fd java.class.path=/home/oscar/fop/fop-0.20.5/build/fop.jar:/home/oscar/fop/fop-0.20.5/lib/xercesImpl-2.2.1.jar:/home/oscar/fop/fop-0.20.5/lib/xalan-2.4.1.jar version.JAXP=1.1 java.ext.dirs=/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ext # BEGIN Listing XML-related jars in: foundclasses.sun.boot.class.path xml.jar-apparent.version=not-present xml.jar-path=WARNING. Classpath entry: /home/oscar/sources/IBMJava2-142/bin/../jre/lib/xml.jar does not exist #- END Listing XML-related jars in: foundclasses.sun.boot.class.path - version.xerces2=Xerces-J 2.2.1 version.xerces1=not-present version.xalan2_2=Xalan Java 2.4.1 version.xalan1=not-present version.ant=not-present java.version=1.4.2 version.DOM=2.0 version.crimson=not-present sun.boot.class.path=/home/oscar/sources/IBMJava2-142/bin/../jre/lib/core.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/graphics.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/security.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/server.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/xml.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/charsets.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmorbapi.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmorb.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjsseprovider.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjssefips.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmcertpathprovider.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjcefw.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjgssprovider.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmpkcs.jar:/home/oscar/sources/IBMJava2-142/bin/../jre/lib/ibmjaaslm.jar version.SAX=2.0 version.xalan2x=Xalan Java 2.4.1 #- END writeEnvironmentReport: Useful properties found: - # YAHOO! Your environment seems to be OK. On 8/2/06, Chris Bowditch [EMAIL PROTECTED] wrote: Danelaw wrote: the fo files generated with xalan are different, but i dont know why they are different :S Most likely because the JDK comes bundled with xerces and xalan. Sun bundles a different version to IBM. Probably best to place the version of xalan and xerces shipped with FOP and copy them to the lib/endorsed folder of your JDK/JRE. Chris snip/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with java virtual machine from ibm
the fo files generated with xalan are different, but i dont know why they are different :S i am searching for incorrect br or something like this . On 8/2/06, Pascal Sancho [EMAIL PROTECTED] wrote: -Original Message- From: Danelaw [mailto:[EMAIL PROTECTED] Hello, i am creating a pdf using xsl and xml, if i do it with java from sun it works well with 5 pages (header and 2 lines per page the last page has 8 lines) and if i do with java from ibm it works bad, with 15 pages (header and 1 line per pages) any idea of what thing or option can be? i can attach the xml and xsl, but i think they are not too significant .. :S Hi Dane, 1st, you can compare fo files (not pdf) generated with each system. If no differences between these 2 files, a possible reason can be different metrics font files on each system. Is there any usable info in stdout? No more idea Pascal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]