RE: While we are on the subject of references
Rob Stote wrote: <--start--> I have found the following book to be indispensable. It is packed with code examples, and a clear layout of the spec. Anyone who like to "see" examples this is the book for you. It is fairly detailed, but not overwhelming. Practical Formatting Using XSL-FO (Extensible Stylesheet Language Formatting Objects) Crane Software www.CraneSoftwrights.com I think it should be added to he resources page. <--end--> OK, I have added it in CVS. It should be visible on the site within a week. Thanks. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
While we are on the subject of references
Title: While we are on the subject of references I have found the following book to be indispensable. It is packed with code examples, and a clear layout of the spec. Anyone who like to "see" examples this is the book for you. It is fairly detailed, but not overwhelming. Practical Formatting Using XSL-FO (Extensible Stylesheet Language Formatting Objects) Crane Software www.CraneSoftwrights.com I think it should be added to he resources page. My 2 cents Rob
Re: XSL GUI designer with FOP or other engine
I tried the demo for this product. It is very much a WYSIWYG editor. http://www.xslfast.com/ >>> 05/01/03 03:25PM >>> Have you tried the new & improved FOP Resources page? http://xml.apache.org/fop/resources.html While there you'll be treated to a wonderful spa and massage, as well as the beautiful and fabulous Formatting Objects Authoring tool: http://foa.sourceforge.net/ This isn't on the Resources page yet, but there's also Scruffy Software's FOEditor for Mac OS X: http://www.scruffyware.com/products/foeditor/ ;-p p.s. As for me, I use a combination of XMLSpy/BBEdit & Acrobat Reader myself (the ol' CODE, RENDER, TWEAK, REPEAT trick!). I tried to get into the FOA thing, but found I liked the control of a text editor. Anyone use FOA? Michael Reiche wrote: > Anyone using a GUI designer with FOP? > > Or possible with another XSL-FO renderer? -- Clay Leeds - [EMAIL PROTECTED] Web Developer - Medata, Inc. - http://www.medata.com PGP Public Key: https://mail.medata.com/pgp/cleeds.asc - 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: AW: Performance Question
We use XSLTC. I learned Java XML use and JAXP from an O'Reilly book entitled "Java and XSLT" by Eric Burke. It includes an example of a stylesheet cache that I found quite useful. Buy the book and check it out. "Müller, Markus" <[EMAIL PROTECTED]To: [EMAIL PROTECTED] dm.de> cc: Subject: AW: Performance Question 05/02/2003 11:23 AM Please respond to fop-user Hello Ryan, you're writing about a stylesheet-cache. How did you implement it? Do you use XSLTC or do you reuse the InputHandler object (according to the documentation, it can be reused). Markus $> -Ursprüngliche Nachricht- $> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] $> Gesendet: Freitag, 2. Mai 2003 14:16 $> An: [EMAIL PROTECTED] $> Betreff: Re: Performance Question $> $> $> $> $> Sorry, I should have included these details also: $> $> Our PDFs are produced during a batch process, meaning the $> JVM is started $> once and all PDFs are then created. This, of course, means $> the JVM stays $> "warm" and we can take full advantage of HotSpot compilation. $> $> We also have implemented a style sheet cache, so once the $> style sheet has $> been used once the compiled version is reused over and over, which $> definitely helps performance. $> $> All of our XML/XSLT interfaces use JAXP, meaning we can plug $> in different $> XML/XSLT processors. We currently use Saxon 6.5.2 because it's the $> fastest, but it appears the recently-released Xalan 2.5 has $> closed the gap $> considerably. $> $> Even though the computer has 1 GB RAM available, we only $> allocate a max $> heap size of 512 MB. $> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Performance Question
Hello Ryan, you're writing about a stylesheet-cache. How did you implement it? Do you use XSLTC or do you reuse the InputHandler object (according to the documentation, it can be reused). Markus $> -Ursprüngliche Nachricht- $> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] $> Gesendet: Freitag, 2. Mai 2003 14:16 $> An: [EMAIL PROTECTED] $> Betreff: Re: Performance Question $> $> $> $> $> Sorry, I should have included these details also: $> $> Our PDFs are produced during a batch process, meaning the $> JVM is started $> once and all PDFs are then created. This, of course, means $> the JVM stays $> "warm" and we can take full advantage of HotSpot compilation. $> $> We also have implemented a style sheet cache, so once the $> style sheet has $> been used once the compiled version is reused over and over, which $> definitely helps performance. $> $> All of our XML/XSLT interfaces use JAXP, meaning we can plug $> in different $> XML/XSLT processors. We currently use Saxon 6.5.2 because it's the $> fastest, but it appears the recently-released Xalan 2.5 has $> closed the gap $> considerably. $> $> Even though the computer has 1 GB RAM available, we only $> allocate a max $> heap size of 512 MB. $> $> $> $> $> $> $> [EMAIL PROTECTED] $> $> ul.com To: $> [EMAIL PROTECTED] $>cc: $> $> 05/02/2003 06:58 Subject: Re: $> Performance Question $> AM $> $> Please respond to $> $> fop-user $> $> $> $> $> $> $> $> $> $> $> I have FOP running on a Pentium 4 2.54 GHz computer with 1 $> GB memory and $> Win2000. I use Saxon 6.5.2 as the XML parser and XSLT $> engine. It also $> uses custom XMLReaders to produce SAX events which are $> processed by FOP. $> $> We usually see a PDF production rate of 8-9 pages per second, and we $> sometimes produce PDFs that are 1500+ pages. The only real $> problem with $> FOP is some of the XSL style sheet tricks necessary to $> insert intermittent $> page-sequences so FOP doesn't run out of memory. $> $> Hope this helps. $> $> $> $> $> "Christian $> $> Neuroth" To: $> <[EMAIL PROTECTED]> $> <[EMAIL PROTECTED]>cc: $> $>Subject: Performance $> Question $> 04/30/2003 03:30 $> $> AM $> $> Please respond to $> $> fop-user $> $> $> $> $> $> $> $> $> In my company, we are currently using StreamServe to produce $> documents $> (basically invoices). $> 50.000 docs/day, 3.000 prints, 47.000 pdf. $> The final document averages 3 pages (there are some $> exceptions with up to $> 1000 pages - very rare, however), a document containing only $> one graphic $> (logo). $> $> I am puzzling whether I can shift from StreamServer to FOP. $> Are there any $> people out there who apply FOP to achieve a similar volume? Is the $> performance ok? $> $> $> $> $> $> $> $> $> $> - $> 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] $> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
any new FOP releases on the horizon?
given the time period between rc and rc2, it would seem that another release might be warranted about now. any hints? rday - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Performance Question
Sorry, I should have included these details also: Our PDFs are produced during a batch process, meaning the JVM is started once and all PDFs are then created. This, of course, means the JVM stays "warm" and we can take full advantage of HotSpot compilation. We also have implemented a style sheet cache, so once the style sheet has been used once the compiled version is reused over and over, which definitely helps performance. All of our XML/XSLT interfaces use JAXP, meaning we can plug in different XML/XSLT processors. We currently use Saxon 6.5.2 because it's the fastest, but it appears the recently-released Xalan 2.5 has closed the gap considerably. Even though the computer has 1 GB RAM available, we only allocate a max heap size of 512 MB. [EMAIL PROTECTED] ul.com To: [EMAIL PROTECTED] cc: 05/02/2003 06:58 Subject: Re: Performance Question AM Please respond to fop-user I have FOP running on a Pentium 4 2.54 GHz computer with 1 GB memory and Win2000. I use Saxon 6.5.2 as the XML parser and XSLT engine. It also uses custom XMLReaders to produce SAX events which are processed by FOP. We usually see a PDF production rate of 8-9 pages per second, and we sometimes produce PDFs that are 1500+ pages. The only real problem with FOP is some of the XSL style sheet tricks necessary to insert intermittent page-sequences so FOP doesn't run out of memory. Hope this helps. "Christian Neuroth" To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>cc: Subject: Performance Question 04/30/2003 03:30 AM Please respond to fop-user In my company, we are currently using StreamServe to produce documents (basically invoices). 50.000 docs/day, 3.000 prints, 47.000 pdf. The final document averages 3 pages (there are some exceptions with up to 1000 pages - very rare, however), a document containing only one graphic (logo). I am puzzling whether I can shift from StreamServer to FOP. Are there any people out there who apply FOP to achieve a similar volume? Is the performance ok? - 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: Performance Question
I have FOP running on a Pentium 4 2.54 GHz computer with 1 GB memory and Win2000. I use Saxon 6.5.2 as the XML parser and XSLT engine. It also uses custom XMLReaders to produce SAX events which are processed by FOP. We usually see a PDF production rate of 8-9 pages per second, and we sometimes produce PDFs that are 1500+ pages. The only real problem with FOP is some of the XSL style sheet tricks necessary to insert intermittent page-sequences so FOP doesn't run out of memory. Hope this helps. "Christian Neuroth" To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>cc: Subject: Performance Question 04/30/2003 03:30 AM Please respond to fop-user In my company, we are currently using StreamServe to produce documents (basically invoices). 50.000 docs/day, 3.000 prints, 47.000 pdf. The final document averages 3 pages (there are some exceptions with up to 1000 pages - very rare, however), a document containing only one graphic (logo). I am puzzling whether I can shift from StreamServer to FOP. Are there any people out there who apply FOP to achieve a similar volume? Is the performance ok? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Class Transformer not found
You said you have the following imports: > > > import javax.xml.transform.TransformerFactory; > > > import org.apache.xalan.xsltc.trax.TransformerFactoryImpl; Do you also have these imports? import javax.xml.transform.Transformer; import javax.xml.transform.stream.StreamSource; On 02.05.2003 08:25:29 Ozhan Hassan wrote: > On Fri, 2 May 2003, Jeremias Maerki wrote: > > > "Class Transformer not found" simply means that JAXP is not in your > > classpath during compilation. You need to make sure that xml-apis.jar > > (which contains JAXP) is also in your classpath. > > I already have xml-apis.jar in my classpath. Basically, I include all the > jar files from the /lib directory in my class path. Which libraries do I > need to import to use the Transformer object? Is there anything else which > I am missing? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Class Transformer not found
On Fri, 2 May 2003, Jeremias Maerki wrote: > "Class Transformer not found" simply means that JAXP is not in your > classpath during compilation. You need to make sure that xml-apis.jar > (which contains JAXP) is also in your classpath. I already have xml-apis.jar in my classpath. Basically, I include all the jar files from the /lib directory in my class path. Which libraries do I need to import to use the Transformer object? Is there anything else which I am missing? Kind Regards, Ozhan > > On 02.05.2003 05:34:30 Ozhan Hassan wrote: > > Hi hope I am sending this to the correct user mailing list. > > You are. > > > I am trying to write a simple application to read in an xml file and and > > xslt style sheet, then produce a PDF. Below is a snippet of the main code > > which does this: > > > > Driver driver = new Driver(); > > driver.setOutputStream(new FileOutputStream(outFileName)); > > Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO); > > MessageHandler.setScreenLogger(logger); > > driver.setLogger(logger); > > driver.setRenderer(Driver.RENDER_PDF); > > > > Transformer transformer = TransformerFactory.newInstance() > > .newTransformer(new StreamSource(INPUT_DIR + INPUT_XSLT)); > > transformer.transform(new InputSource(INPUT_DIR + INPUT_XML), > > new SAXResult(driver.getContentHandler())); > > > > However, I am getting the following error: > > > > [javac] > > /home/server/test/RendingEngines/FOP/source/fop-0.20.4/build/src/RenderingEngineXslt.java:60: > > Class Transformer not found. > > [javac] Transformer transformer = TransformerFactory.newInstance() > > [javac] ^ > > [javac] > > /home/server/test/RendingEngines/FOP/source/fop-0.20.4/build/src/RenderingEngineXslt.java:61: > > Class StreamSource not found. > > [javac].newTransformer(new StreamSource(INPUT_DIR + > > INPUT_XSLT)); > > [javac]^ > > [javac] 2 errors, 1 warning > > > > I have the xalan_2.3.1.jar file in my class path. I also import the > > following, where the 2nd import isn't found: > > > > import javax.xml.transform.TransformerFactory; > > import org.apache.xalan.xsltc.trax.TransformerFactoryImpl; > > > > Can anyone help me out? > > > Jeremias Maerki > > > - > 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: Using PHP or Perl to dynamically create PDFs
Hi, You can use PHP or PERL as a language to generate pdf. Download the sablotron XML toolkit through which you can convert XML+XSL in to FO (http://www.gingerall.com/charlie/ga/xml/p_sab.xml) . From PHP peer project doenload package XML_fo2pdf (http://pear.php.net/package-info.php?pacid=16) with the help of this package you can cover FO to PDF easily. i hope this would help. Amit Kaushik - Original Message - From: "Kairi Henry" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 01, 2003 10:22 PM Subject: Re: Using PHP or Perl to dynamically create PDFs > when you find out the answer can you please post it. I also want to extend > the question - I'm not necessarily looking for different languages using FOP > but is there anything in php, perl or c++ to manipulate xsl-fo files into > PDF. > > - Original Message - > From: "Eric Pement" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, May 01, 2003 10:14 AM > Subject: Using PHP or Perl to dynamically create PDFs > > > > In a thread posted here a week or so ago, it was stated that one way > > to dynamically generate PDF files was to use FOP in conjunction with > > Cocoon and Tomcat. > > > > Does anyone know if it would also be possible to dynamically > > generate PDF files with FOP and PHP, or with FOP and Perl? > > TIA. > > > > > > -- > > Eric Pement - [EMAIL PROTECTED] > > Education Technical Services, MBI > > > > > > - > > 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] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Class Transformer not found
"Class Transformer not found" simply means that JAXP is not in your classpath during compilation. You need to make sure that xml-apis.jar (which contains JAXP) is also in your classpath. On 02.05.2003 05:34:30 Ozhan Hassan wrote: > Hi hope I am sending this to the correct user mailing list. You are. > I am trying to write a simple application to read in an xml file and and > xslt style sheet, then produce a PDF. Below is a snippet of the main code > which does this: > > Driver driver = new Driver(); > driver.setOutputStream(new FileOutputStream(outFileName)); > Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO); > MessageHandler.setScreenLogger(logger); > driver.setLogger(logger); > driver.setRenderer(Driver.RENDER_PDF); > > Transformer transformer = TransformerFactory.newInstance() > .newTransformer(new StreamSource(INPUT_DIR + INPUT_XSLT)); > transformer.transform(new InputSource(INPUT_DIR + INPUT_XML), > new SAXResult(driver.getContentHandler())); > > However, I am getting the following error: > > [javac] > /home/server/test/RendingEngines/FOP/source/fop-0.20.4/build/src/RenderingEngineXslt.java:60: > Class Transformer not found. > [javac] Transformer transformer = TransformerFactory.newInstance() > [javac] ^ > [javac] > /home/server/test/RendingEngines/FOP/source/fop-0.20.4/build/src/RenderingEngineXslt.java:61: > Class StreamSource not found. > [javac].newTransformer(new StreamSource(INPUT_DIR + > INPUT_XSLT)); > [javac]^ > [javac] 2 errors, 1 warning > > I have the xalan_2.3.1.jar file in my class path. I also import the > following, where the 2nd import isn't found: > > import javax.xml.transform.TransformerFactory; > import org.apache.xalan.xsltc.trax.TransformerFactoryImpl; > > Can anyone help me out? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Class Transformer not found
Hi, Hi hope I am sending this to the correct user mailing list. I am trying to write a simple application to read in an xml file and and xslt style sheet, then produce a PDF. Below is a snippet of the main code which does this: Driver driver = new Driver(); driver.setOutputStream(new FileOutputStream(outFileName)); Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO); MessageHandler.setScreenLogger(logger); driver.setLogger(logger); driver.setRenderer(Driver.RENDER_PDF); Transformer transformer = TransformerFactory.newInstance() .newTransformer(new StreamSource(INPUT_DIR + INPUT_XSLT)); transformer.transform(new InputSource(INPUT_DIR + INPUT_XML), new SAXResult(driver.getContentHandler())); However, I am getting the following error: [javac] /home/server/test/RendingEngines/FOP/source/fop-0.20.4/build/src/RenderingEngineXslt.java:60: Class Transformer not found. [javac] Transformer transformer = TransformerFactory.newInstance() [javac] ^ [javac] /home/server/test/RendingEngines/FOP/source/fop-0.20.4/build/src/RenderingEngineXslt.java:61: Class StreamSource not found. [javac].newTransformer(new StreamSource(INPUT_DIR + INPUT_XSLT)); [javac]^ [javac] 2 errors, 1 warning I have the xalan_2.3.1.jar file in my class path. I also import the following, where the 2nd import isn't found: import javax.xml.transform.TransformerFactory; import org.apache.xalan.xsltc.trax.TransformerFactoryImpl; Can anyone help me out? Regards, Ozhan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
test
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]