Subject: RE: [xsl] xml to pdf conversion From: "Scherpenzeel, Wim" <Wim.Scherpenzeel@xxxxxxxxxxxxxx> Date: Tue, 19 Jun 2001 09:23:32 +0200 |
Maybe this will help... This is how I do a 'demo' of the whole process (from XML tp PDF) 1- Open DOs box and execute the style sheet conversion to get from XML to FO like this: XT input stylesheet output The input file is your 'raw' XML; the stylesheet converts this XML file into an XML file containing FO-tags. 2- Next, you have to call the FOP-processor. I use a CMD file for this purpose. I named it 'fo-to-pdf.cmd'. It takes one parmL the input file. This input file is the output of step1 (the XML file containing the FO-tags.) So type in: fo-to-pdf input-file This generates an output file called input-file.pdf This is the content of the CMD file 'fo-to-pdf': rem @echo off rem This batch file encapsulates a standard XEP call. set JAVA_HOME=E:\JavaSoft\JRE\1.3.0_02 set XEP_HOME=C:\XEP set CP=%JAVA_HOME%/lib/tools.jar;%XEP_HOME%/lib/xep.jar;%XEP_HOME%/lib/xerces-1. 0.0.jar;%XEP_HOME%/lib/JimiProClasses.zip %JAVA_HOME%\bin\java -classpath %CP% -Dcom.renderx.FO2PDF.ROOT=%XEP_HOME% -Dcom.renderx.FO2PDF.VALIDATE=true -Dcom.renderx.FO2PDF.GC_LEVEL=0 com.renderx.FO2PDF.Driver %1 %2 %3 %4 %5 %6 %7 %8 %9 -----Original Message----- From: Rene de Vries [mailto:RdVries@xxxxxxxxxxx] Sent: dinsdag 19 juni 2001 9:06 To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Subject: RE: [xsl] xml to pdf conversion Hi Rianda (and Spencer), I found FOP at http://xml.apache.org/fop/index.html, downloaded everything I could found, read everything I could read, but until now I wasn't able to get it working. How do I get a Windows-exe to be able to run it from the command line, etc.. What I miss is a simple "Getting started". Maybe it's beacuse I only have java 1.3.1 runtime environment??? Greetings Rene { @ @ } ^ \__/ "You don't need eyes to see, you need vision!" -----Oorspronkelijk bericht----- Van: Rianda Broodryk [SMTP:RiandaB@xxxxxxxxxxxxxxxxxxxxx] Verzonden: maandag 18 juni 2001 16:20 Aan: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' Onderwerp: RE: [xsl] xml to pdf conversion If you are using xsl as well as xml, then you can download a package called FOP, and run it from the command line, it transforms xsl and xml into pdf format and is available free of charge. Extensive tutorials are available with the downloaded package. Just do a search from a search engine for FOP. -----Original Message----- From: Earl Spencer [mailto:eapencer74@xxxxxxxxxxx] Sent: 18 June 2001 04:07 To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] xml to pdf conversion Hi folks, I want to convert an xml document to pdf format i just started working on it .Can anybody who already did that give me some guidelines or any links and tell me what the best way is to convert an xml file to pdf file. Thanks Spencer _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] xml to pdf conversion, Rafael R. Sevilla | Thread | RE: [xsl] xml to pdf conversion, DPawson |
RE: [xsl] xml to pdf conversion, Rafael R. Sevilla | Date | Re: [xsl] Any Doc to XML converter , Rafael R. Sevilla |
Month |