RE: XSL_FO generator

2003-02-10 Thread Savino, Matt C
The new XMLSpy is supposed to contain a graphical xsl:fo generator. We haven't received our licenses yet so I haven't had a chance to play with it. And no unfortunately it's not cheap. > -Original Message- > From: Steve Pitchford [mailto:[EMAIL PROTECTED] > Sent: Friday, February 07, 20

RE: How do you set the memory size for FOP

2003-02-19 Thread Savino, Matt C
FYI - if you are trying to process a huge document, it may possible FOP could be running out of memory before it even prints a page., while it is in the 'calculating' phase. During this phase, I've seen our heap approach 300-400M on a ~200 page document. Are you using hotspot? Try turning on -ve

RE: How do you set the memory size for FOP

2003-02-19 Thread Savino, Matt C
450 pages is pretty good. Just curious did you use multiple page sequences? no large tables? Also do you see how much memory it did use? thanks > -Original Message- > From: Jon Steeves [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 19, 2003 3:26 PM > To: '[EMAIL PROTECTED]' > Subj

RE: Writing efficient XSL

2003-02-20 Thread Savino, Matt C
Title: RE: Writing efficient XSL If you can "generate the FO object relatively quickly", then you should be already past the XSL stage and into the FO processing (Driver.run()). Unless I am interpreting this wrong. If so try writing your FO out to a file to see how long it takes. How many pa

RE: Writing efficient XSL

2003-02-21 Thread Savino, Matt C
8 CPU and 10GB memroy... it seems that JDK1.3 and Xalan2.4.1 performs slightly better.., but not much.. Thanks     -Original Message-----From: Savino, Matt C [mailto:[EMAIL PROTECTED]Sent: Thursday, February 20, 2003 6:35 PMTo: [EMAIL PROTECTED]Subject: RE: Wr

RE: logo contest again

2003-02-27 Thread Savino, Matt C
I set Photoshop to Save for Web highest quality. Let me know if you want it larger/smaller or higher/lower DPI. > -Original Message- > From: Peter B. West [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 27, 2003 3:28 PM > To: [EMAIL PROTECTED] > Subject: Re: logo contest again > >

RE: logo contest again

2003-02-27 Thread Savino, Matt C
Here is the PSD file. > -Original Message- > From: Savino, Matt C > Sent: Thursday, February 27, 2003 3:34 PM > To: [EMAIL PROTECTED] > Subject: RE: logo contest again > > > I set Photoshop to Save for Web highest quality. Let me know > if you want it lar

RE: FOP in production app

2003-03-12 Thread Savino, Matt C
FYI - we use FOP in an online production app to deliver on-demand print verions of our managment reports and lab reports. Our clients (drug companies) use the app to log on and see how their clinical trials are going. Luckily we haven't had much demand for large (50+ pages) PDFs or many medium-s

Seeking advice on HSSF

2003-04-29 Thread Savino, Matt C
Hi, I figured I'd ask this here just in case anyone had any opinions. We have a web-app which currently uses FOP in a servlet to generate PDFs. We are looking into using HSSF to generate .xls files in a similar fashion. Is anyone out there swapping FOP and HSSF like this? I've read all of the HS

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
> From: Adam Shelley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 29, 2003 3:53 PM > To: [EMAIL PROTECTED] > Subject: RE: Seeking advice on HSSF > > > I am currently seeking the same information. I'll post some > info if I come > up with something. > &g

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
Thanks Jeremias. I think the main reason we are parsing the fodoc into a DOM is so we can serialize the FO out to a file for debugging (it's either that or do the transformation twice). I'm actually in the process of altering the HSSF stuff now so I can debug the GMR output. On your adive I will

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
Cool. I will. I think the main reason this hasn't been much of an issue is that the FOP render time is always an order of magnitude over the XML/XSLT parsing/transforming. (And from my preliminary results it's looking like HSSF is even more of a resource hog.) thx. -Matt > -Original Me

RE: Seeking advice on HSSF

2003-05-01 Thread Savino, Matt C
Arg. Here's the last line I was trying to paste when I accidentally hit Ctrl-Enter: But that still doesn't mean it's ok to be wasteful on the XSLT side. -matt > -Original Message----- > From: Savino, Matt C > Sent: Thursday, May 01, 2003 11:17 AM > To: '

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
I'm missing a font so I can't see the text. Does the upper two-column section need to flow like the lower one? Can it be the same height every time? Is there a new upper two-column section on every page? That's some complicated layout you have there, almost looks more like a catalog you would do

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
So I'm guessing the text below the pics in the upper split section is a continuous paragraph? If you don't mind my asking, can you just divide the content in half? Or do you really need the split between the text part? - To un

RE: Column / character width question

2003-05-08 Thread Savino, Matt C
and tables in it? -matt > -Original Message- > From: Ben Galbraith [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 08, 2003 3:56 PM > To: [EMAIL PROTECTED] > Subject: Re: Column / character width question > > > Savino, Matt C wrote: > > So I'm guessing th

RE: Column / character width question

2003-05-09 Thread Savino, Matt C
Thanks Clay, looks promising. I may have to finally upgrade from FOP .20.2 to test it. From what I understand markers weren't well-implemented in this version. Basically what I need is for the word 'Continued' to appear at the top a block (table) of results every time there is a page break. The

RE: Re: Error when piping XSL-FO to FOP driver using SAXResult

2003-05-14 Thread Savino, Matt C
Below is something we use as part of a much more involved stylesheet. Although looking at it now it's not the most efficient piece of code as it loops through the same nodes several times. (We use it to break output into groups of five columns and know we'll never have more than 3 or 4 groups, s

RE: Re: Error when piping XSL-FO to FOP driver using SAXResult

2003-05-14 Thread Savino, Matt C
. Now comes the age-old question of whether or not to rewrite code that works fine just because we know it can be done better. I think that question usually comes down on the do-not-rewrite side. > -Original Message- > From: Savino, Matt C > Sent: Wednesday, May 14, 2003 11:4

RE: FOP servlet is called multiple times!!

2003-05-19 Thread Savino, Matt C
Attached is the source for a servlet we use in production to dynamically generate PDFs over HTTPS. We use the exact cache/return system describe by J. below (thanks originally to someone on this board whose name escapes me). I have removed anything not relevant to to PDF generation process so th

RE: Big/Huge XMLs

2003-05-22 Thread Savino, Matt C
[I'll give J. a breather on this one] Assuming you've made certain that the bottleneck is in FOP and not your XSLT transformation, the only thing you can really do to help with very large reports is to break the PDFs into multiple page-sequences. IE start a new page-sequence every X nodes. I

RE: Big/Huge XMLs

2003-05-22 Thread Savino, Matt C
sage- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 22, 2003 12:35 PM > To: [EMAIL PROTECTED] > Subject: Re: Big/Huge XMLs > > > Savino, Matt C wrote: > > We increased our max PDF size on this report from 30 pages to 200 > > Huh? Wha

RE: Big/Huge XMLs

2003-05-23 Thread Savino, Matt C
g not only FOP, but Weblogic entirely, with no warning at all. Can anyone see why? Very very strange. -Matt > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Friday, May 23, 2003 11:43 AM > To: [EMAIL PROTECTED] > Subject: Re: Big/Huge XMLs &g

RE: Java script with xsl in FOP ?

2003-09-12 Thread Savino, Matt C
Here's how we insert a dynamicly generated script it in the xslt that passes through to the HTML: loadTopFrame("","","RE: Java script with xsl in FOP ?
As long as the calculations get done somewhere, either by the XLST processor or the browser, the end result should be the same correct? (Unless some other XSLT process is dependent on the outcome of these calcs.) > -Original Message- > From: Victor Mote [mailto:[EMAIL PROTECTED] > Sent:

RE: Java script with xsl in FOP ?

Duh, I forgot this was the FOP board. Is this output going to PDF? I think PDF can also do some form of JavaScript processing but I've never tried. > -Original Message- > From: Savino, Matt C > Sent: Friday, September 12, 2003 10:16 AM > To: [EMAIL PROTECTED] > Subj

RE: Java script with xsl in FOP ?

; To: [EMAIL PROTECTED] > Subject: RE: Java script with xsl in FOP ? > > > YES. The output will be pdf. So I dont want to proceed > if I know that it wont work in the future. So I am > asking everyone so that I can think what I should be > doing. > Abhi > > --- &q

RE: Java script with xsl in FOP ?

nment is left then I want to > add fill characters (here 10)after the name and > similarly for right aligned I want to add before the > Name. > Do you think something like this is feasible using XSL > for variable lengths of the strings that come from > xml? > Your help

RE: Java script with xsl in FOP ?

te the code yet. I thought it would > be better to know if it is worth trying before going > long down the road. > Sorry about that. If you still want the code I write > it and send. > Thanks > Abhi > --- "Savino, Matt C" > <[EMAIL PROTECTED]> wrote: > >

RE: Convert existing PDF to XSL-FO tool

We started using FOP based on the same requirements and have been thrilled with the results. If you can get from XSL-FO to PDF, I'm not sure why you might need a path *back*. If you are looking to create the PDF through something like Acrobat Exchange, then spit out the xsl:fo, you may be in tro

RE: FOP --> PDF

I just tried touching up one of my generated PDFs w/Acrobat 5 and it worked. > -Original Message- > From: Chuck Paussa [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 14, 2002 1:07 PM > To: [EMAIL PROTECTED] > Subject: Re: FOP --> PDF > > > Karim, > > I'm able to touch up my own PD

RE: Big files, no memory...

Try adding creating a new fo:page-sequence every X (~20?) pages or so.The attached XSL does the trick for me. Of course if you don't have natural page breaks (this is the only one of our reports that does), the output will be kind of awkward. Good luck, Matt Savino -Original Message- Fro

RE: region body formatting

I've been trying for some time now to figure out how to get a table that spans multiple pages to always have the same size border on each page. Simplified, my page needs to look like this (The '_'s and '|' represent the actual printed border): <<>> __ |static header | |__|

RE: setting a property with value of a variable

If you need to use a variable instead of an attribute, try this (don't forget the '$'): Or if you need the attribute to be the result of something more complicated like a choose statement, you can use : white grey good luck, Matt > -Original Message-

RE: Keeping it together

Supposedly in .20.3, works. In previous versions it went into an endless loop if the rows went beyond the end of the page. Has anyone used .20.3? I didn't like the the logging errors and two new jar files I was supposed to use. And I missed my benchmarking output (the time not the memory). I pos

RE: Newbie: Vertical Lines in region start and region end

Is this basicaly the same problem I'm having? I've been trying for some time now to figure out how to get a table that spans multiple pages to always have the same size border on each page. Simplified, my page needs to look like this (The '_'s and '|' represent the actual printed border): <<>> _

RE: markers

So that's two new jar files, logging errors, no benchmarking output and broken markers in .20.3. Looks like I'm going to have to live w/o keep-with-next until the redesign. Matt Savino Senior Systems Analyst Quest Diagnostics Clinical Trials > -Original Message- > From: Chuck Paussa [m

XMLSpy - FOP

Has anyone gotten FO transformations to work on XMLSpy w/FOP .20.2? No matter what I try I keep getting the following error: "Output of external XSL converter: The filename, directory name, or volume label syntax is incorrect." thx a lot, Matt Savino Senior Systems Analyst Quest Diagnostics Cli

RE: XMLSpy - FOP

;lib\j > imi-1.0.jar > org.apache.fop.apps.Fop -c conf/userconfig.xml %1 -fo test.fo %6 %7 %8 > > I guess I sort of got it to work but I had to go through an > intermediate > .fo file and I hard coded the xsl > > Chuck > > Savino, Matt C wrote: > >

RE: XMLSpy - FOP

12 months > now, initially struggling with the original code base before > deciding to > start from scratch, and I can say that I am beginning to get > a handle on > the design. Good luck. > > Peter > > Savino, Matt C wrote: > > >I'm 99% sure there is

RE: XMLSpy - FOP

Wed, 27 February 2002, "Peter B. West" wrote: > > > > > Savino, Matt C wrote: > > > > > I regretted the tone of that last email as soon as > > >I spit it out. I'm just not having a very great day. I > know from watching > > >the

RE: XMLSpy - FOP

Arved, I'd love to help out with the Perl prototyping if you have any pieces that make sense to break off. I hear you about the UML. I think on some projects it's more about control than functional necessity. I'm protyping an HTML ad-hoc query builder right now. Once I get the user interface sign

RE: Is it possible?

I don't see why not. It would be an a lot of work, but not impossible. I assume you want to fill in the values as well? The only thing I see that I can't speak for sure about is the background image at the top of the page. But I guess you could always make the whole header an image if you have to.

RE: : XML -> MS Word??

Do you know if this can be used to create a spreadsheet with a pivot table? I read the How To page but didn't see anything about it. thx, Matt Savino > -Original Message- > From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] > Sent: Monday, March 04, 2002 9:47 AM > To: [EMAIL PROTECTED

RE: : XML -> MS Word??

Nope you don't know, or nope it can't? Matt Savino > -Original Message- > From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED] > Sent: Monday, March 04, 2002 10:06 AM > To: [EMAIL PROTECTED] > Subject: Re: : XML -> MS Word?? > > > From: "Sav

RE: : XML -> MS Word??

XML -> MS Word?? > > > From: "Savino, Matt C" <[EMAIL PROTECTED]> > > > Nope you don't know, or nope it can't? > > ;-) Nope, it can't. > > -- > Nicola Ken Barozzi [EMAIL PROTECTED] > - verba volant, scripta manent - >(discussions get forgotten, just code remains) > - > >

RE: IE reloads the PDF document generated from servlet multiple t imes (2 times!)

This is a known issue. There seem to be several approaches, which may depend on your particular situation. There's a full discusssion of this on the fop-dev list under the subject 'FO -> PDF works with Netscape, not with IE' which has the code for my solution (you can find it in the archives if not

RE: IE reloads the PDF document generated from servlet multiplet imes (2 times!)

t; However I used the cache-control directive for IE :- > > -- > response.setHeader("Cache-Control", "max-age=10"); // > workaround so IE > does not refresh/reload PDF page again/twice > ------ > > regds, >

RE: FOP Performance Limitations?

Here's our benchmarking ballpark numbers: On an average report (~30 rows/page, ~7 cols., ~7 chars/column, no new page-sequences possible), output on Weblogic--I see around 500ms/page running on on my PIII-933 NT4, 512MB ram, max heap-size=256MB. I see about 900 ms/page on our RISC 2X550Mhz HP-UX

OT: Mime Types

Can anyone point me to a good references on getting various response content types/file extension mappings to work with IE and Netscape? I'm having a devil of a time getting CSV and XML to save correctly AND create the correct user prompts. We'd like the open/save dialog to come up for everything,

RE: Can I submit XSLT properties to FOP?

Here is a servlet we use to generate PDF and HTML. For the PDF first it calls the transformer w/some parameters, then calls FOP. There's a lot going on, but you should be able to find the pieces you're looking for. Matt Savino > -Original Message- > From: Markus Wiese [mailto:[EMAIL PR

RE: Why is FO(P) a superior model than what most proprietary tool s propose

We're using FOP in a production environment to render some management reports and a very complicated lab report. We've had to limit the management reports to about 2000 rows (~50 page PDF) because of FOP's memory issues w/large PDFs. Also I worry about serious slowdown if we ever get 3 or 4 users o

RE: Why is FO(P) a superior model than what most proprietary tool s propose

Thanks Scott. Can you share a little more detail on how you queue the reports? Matt Savino > -Original Message- > From: Scott Moore [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 30, 2002 2:29 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Why is FO(P) a superior model than what most pro

RE: Why is FO(P) a superior model than what most proprietary tool s propose

language that performs wherever possible its inheritance at compile > rather than run time. Ada is an ISO standard which is > available as a GNU > compiler, GNAT. It should be noted that Java is a proprietary language > owned by SUN. > > -Original Message- > From: Savino, Matt

RE: Why is FO(P) a superior model than what most proprietary tool s propose

Our application absolutely requires tables spanning mulitple pages. Are we trying to fit a square peg into a round hole incorporating FOP into a reporting app as opposed to book publishing? Matt Savino > -Original Message- > From: J.Pietschmann [mailto:[EMAIL PROTECTED] > Sent: Tuesday,

RE: stress test FOP in a servlet?

Just make a frameset that loads as many identical pages as you want. You'll get near concurrent loading. Or you can shell out $30k for loadrunner. Matt Savino > -Original Message- > From: Carter, Will [mailto:[EMAIL PROTECTED] > Sent: Wednesday, May 01, 2002 8:58 AM > To: '[EMAIL PROTEC

RE: FOP memory consumption

> No. A forward reference is for example a fo:page-number-citation > referring to a page after the current page, like in the > overused "page X of Y" construct. > No offense, but if it's over-used, then it's probably because end users ask for it. As a project lead I really wouldn't look forward t

RE: OutOfMemory - What worked for me.

This is great if you have logical page breaks. Only one of our reports has any logical page breaks however. So I can insert new page-sequences every 1000 rows or so. But unless I start counting rows and trying to guess at when a cell wraps, I have no way of preventing page breaks that leave awkward

RE: Memory usage on lage documents

If you know that none of your table cells are going to wrap you could count rows at the XSLT level and put in a new page sequence every x pages. This defeats a lot of the elegance of FOP, but could work. My problem is I have lots of random cell-wrapping, and I'm not about to start trying to calcula

RE: Performance Guidance

I am curently working on a system to only allow one FOP processing thread per appserver instance. You can search my earlier posts for some benchmarking results. Matt Savino Senior Systems Analyst Quest Diagnostics Inc. 33608 Ortega Hwy Building C San Juan Capistrano, CA 92690 949.728.4832 cel -

RE: Performance Guidance

7;ll go > ahead and try > and profile--you think the bottleneck might be in the > transformations and > not in the final rendering? Do you have a profiler you can recommend? > > Thanks very much for the feedback. > > Mike Z. > > -Original Message- &g

RE: Performance Guidance

CPU usage issue, I'm not sure. Matt Savino > -Original Message- > From: Savino, Matt C [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 06, 2002 2:17 PM > To: '[EMAIL PROTECTED]' > Subject: RE: Performance Guidance > > > I mean every o

RE: Performance Guidance

J: > No offense meant, but most people start with the most > inefficient ways to generate XML, usually doing a > lookup in a remote database (which is slow, but hard to > avoid), building an XML string or a DOM tree (which is > slow, memory consuming and avoidable) and then feed it > to the XSLT pr

RE: Performance Guidance

J: > No offense meant, but most people start with the most > inefficient ways to generate XML, usually doing a > lookup in a remote database (which is slow, but hard to > avoid), building an XML string or a DOM tree (which is > slow, memory consuming and avoidable) and then feed it > to the XSLT pr

RE: Performance Guidance

> Create SAX events directly from the DB query result. Doesn't XSLT ultimately need it's source XML in a DOM object to run? Matt Savino

RE: Performance Guidance

That's really good to know. Thanks Matt Savino > > Doesn't XSLT ultimately need it's source XML in a DOM > object to run? > > It depends. One point is that DOM is an interface, and there > exist heavyweight and leightweight implementations. Some > XSLT processors can work directly from an arb

RE: Possibility of converting from XML to PDF without the interme dia te stage of FO format

If performance is everything, you might look into some of the proprietary PDF engines like faceless.org. But either way I believe you're still going to have to convert your raw xml into something marked up for display, then feed it to the PDF generator. Does anyone have any experieince with face

RE: Possibility of converting from XML to PDF without theinterme dia te stage of FO format

> You might want to check out the adobe sight I think they > might have somehting in the works. Are you talking about either the Make Accessible plug-in or the Save as XML plugin? I don't think either of these qualify, but it would be cool if Adobe is working on some new kind of PDF that is mor

RE: blank screen in browser

Check to see if there's anything different about their internet settings or IE build than the other 99%. Look behind the scenes to see if your servlet is being called twice. It sounds like it could be some quirky caching behvior on just those browsers. Even the newest versions of IE call the PDF

RE: blank screen in browser

Oh yeah, putting '...&dummy=.pdf' at the end of your query string also seems to help sometimes. > -Original Message- > From: Thorsten Scherler [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 21, 2002 12:24 PM > To: [EMAIL PROTECTED] > Subject: Re: blank screen in browser > > > It ha

RE: blank screen in browser

Not necessarily. If only a few people's browsers are actually sending a second request through to the servlet you might only see an error then. (Say if you were storing the byte-stream in the user session for some reason, but then deleting it after the first hit to the servlet, it would return and

RE: Pass xsl:param value to FOP through command line

Not sure exactly if your .BAT file is calling a Java app or something else, but here is how we set an external xsl:param within our report generator servlet: transformer.setParameter("pdfImagePath", getServletConfig().getServletContext().getAttribute("pdfImagePath")); Then the xslt style

RE: Pass xsl:param value to FOP through command line

Do you use XSLT to generate your FO file from XML data, or are you building it some other way? I know you can pass properties to FOP through the command line, but as far as something like "don't print the second page", I imagine that would have to be in your FO. -Matt > -Original Message---