[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Please comment on following XML/XSL approach....

Subject: Re: Please comment on following XML/XSL approach....
From: RShonk@xxxxxxxxxxxxx
Date: Tue, 19 Nov 2002 16:32:45 -0500
fop cpu
>  I am using following code to generate reports and it works, but...
>  Could you please comment on this approach?
>
>  1) the servlet 'report_cab' on the first line will run sql to retrieve
> results set with passed parameters from the request object.
>  2) Next, it will create a streamSource from static XSL
>  3) Then, using Transformer to put them together and generate HTML or
Excel
> or PDF....

Lee,
We put a dynamic PDF generator into production about 1 month ago following
exactly this procedure using the XDK plugged into Oracle v8.1.6 to generate
XML documents which are written to a temp directory. Our XSL files are
static and the PDF's are rendered with fop 0.20.4 using the included
FOPServlet. Then we send the generated pdf in a byte stream to the user's
browser.
The issues we faced with this approach are
1) FOP is very memory and CPU intensive. We needed to limit the size of the
records processed by limiting the size of the result sets returned from the
database.
2) Internet Explorer and Acrobat Reader do not always play well together
when the reader is running as a plug-in. See MS KB articles Q252609 and
Q293792.

Good Luck,
Richard Shonk
Flowserve Corp.
Programmer / Analyst
Parts Distribution Center


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.