Re: White space between table-rows. HOW?

2002-06-06 Thread J.Pietschmann
Hahn Kurt (CHA) wrote: Below is a code sample from a table I'm displaying. I need to have some space between 2 rows, in order to separate them visually. I tried a number of things, especially the various padding-properties but also other things, but no clue so far. The only thing that worked (a

RE: inconsistent table/t.cell border widths with DocBook to PDF

2002-06-06 Thread Roland Neilands
While using FOP to build some docbooks of mine works quite nicely, one rather visual problem occured when I used tables. The linewidth of the table/cell borders is not the same for all cells. Some borders appear to be double as wide as others. Yet there seems to be no pattern either, thus I came

RE: Is there an archive of this list?

2002-06-06 Thread chandrakant_binwani
Hi, While trying to generate a PDF from a xml using a xsl... the pdf generated is a 0KB one. Can anybody tell me the probable reason for this TIA, Regards, Chandrakant. -Original Message- From: Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 06, 2002 12:46 PM To:

Re: Problem with PDF generation [was: Is there an archive of this list?]

2002-06-06 Thread Jeremias Maerki
It is VERY bad practive to reply to a mail when you want to start a new thread! Not even the subject is changed. The empty PDF often happens when an exception/error occurs. You'll have to post more information on your problem: error message, stacktrace/log, version of FOP, platform where the

Use a relative path

2002-06-06 Thread Hahn Kurt (CHA)
I need to add a graphics file, originally placed in the same directory where my sitemap is located. ¨There's no problem if I use an absolute path, the file is displayed. If I use a relative path, nothing. The file is very small, so I even copied in other subdirectories, but still nothing. How can

Use a relative path do insert a graphics file (Re-post with bett er title)

2002-06-06 Thread Hahn Kurt (CHA)
I need to add a graphics file, originally placed in the same directory where my sitemap is located. ¨There's no problem if I use an absolute path, the file is displayed. If I use a relative path, nothing. The file is very small, so I even copied in other subdirectories, but still nothing. How

Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
While trying to generate a PDF from a xml using a xsl... the pdf generated is a 0KB one. Driver driver = new Driver(); driver.setRenderer(Driver.RENDER_PDF); XMLReader parser = input.getParser(); driver.setOutputStream(new FileOutputStream(pdffile)); driver.render(parser,

RE: Problem with PDF generation

2002-06-06 Thread Michiel Verhoef
Did you try to run the transformation (XML XSL) without generating a PDF? If that doesn't produce any output your PDF will be empty. $ -Original Message- $ From: chandrakant_binwani [mailto:[EMAIL PROTECTED] $ Sent: donderdag 6 juni 2002 10:42 $ To: [EMAIL PROTECTED] $ Subject: Problem

Block and page changing

2002-06-06 Thread Ramon Maria Gallart
Hi all. I have a problem. It happens that sometimes i have blocks that startat the end of a page and get cutted just to follow on the next one page. What I would like to do is make those blocks startat the beginning of the next page. Can anyone tell me what do I have to do to achieve

Re: Block and page changing

2002-06-06 Thread Florence Deforge
If you don't want to force a page-break before any block, you should use the keep-together property. Unfortunately fop doesn't handle this property on block elements. A solution can be to insert the block in a table. Then you can apply keep-together on the table-row element. Flo -

Run FOP from an ASP page

2002-06-06 Thread Kirin, Andy
I've been trying to run FOP from an ASP page with little success. I can get the .fo file generated 'on the 'fly' but I want to be able to generate and view the PDF file when the user clicks a button. Any help would be greatly appreciated. Andrew E. Kirin [EMAIL PROTECTED] (724) 567-2141

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
Hi, I'm getting following exception while generating a pdf using FOP. file:///D:/tempReports/testReport.xml; Line 2; Column 24; org.apache.fop.apps.FOPException at

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
Tried that... Still gives the same exception -Original Message- From: Michiel Verhoef [mailto:[EMAIL PROTECTED] Sent: Thursday, June 06, 2002 7:52 PM To: '[EMAIL PROTECTED]' Subject: RE: Problem with PDF generation ehm, not sure if this helps but have you tried a different order of

RE: Problem with PDF generation

2002-06-06 Thread Michiel Verhoef
Just to see if I can get a decent fo file: could you send us your XSLT and XML files so we can try the conversion? $ -Original Message- $ From: chandrakant_binwani [mailto:[EMAIL PROTECTED] $ Sent: donderdag 6 juni 2002 16:32 $ To: [EMAIL PROTECTED] $ Subject: RE: Problem with PDF

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
Pls find the attached files: -Original Message- From: Michiel Verhoef [mailto:[EMAIL PROTECTED] Sent: Thursday, June 06, 2002 8:02 PM To: '[EMAIL PROTECTED]' Subject: RE: Problem with PDF generation Just to see if I can get a decent fo file: could you send us your XSLT and XML files

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
Hi Ramon, Could you tell me what versions of FOP and other things you used... and most importantly... did you run them from command line...? It works for me if i run them from command line but it doesn't work if i try to do so through a java program -Original Message- From: Ramon

RE: Problem with PDF generation

2002-06-06 Thread Ramon Maria Gallart
The version of fop i'm using is 0.20.3 but i have obteined it from the command line. I'm going to try to generate the same result from a servlet. Nowadys I think your problem could be because of the libraries you're using. If you look to the FopServlet.java, you'll see which exactly ones you need

Re: Problem with PDF generation

2002-06-06 Thread Oleg Tkachenko
chandrakant_binwani wrote: Pls find the attached files: Those works like a charm in (msxml3, saxon, xalan) + fop. Show us your java code. -- Oleg Tkachenko Multiconn International, Israel

RE: Problem with PDF generation

2002-06-06 Thread CASTELAIN Yves (GL)
Hi. I have exactly the same problem -Message d'origine- De: Michiel Verhoef [mailto:[EMAIL PROTECTED] Date: jeudi 6 juin 2002 16:32 À: '[EMAIL PROTECTED]' Objet: RE: Problem with PDF generation Just to see if I can get a decent fo file: could you send us your XSLT and XML files so

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
I'm using the libraries mentioned in the FopServlet.java The FOP version is 0.20.3 -Original Message- From: Ramon Maria Gallart [mailto:[EMAIL PROTECTED] Sent: Thursday, June 06, 2002 8:29 PM To: [EMAIL PROTECTED] Subject: RE: Problem with PDF generation The version of fop i'm

RE: Problem with PDF generation

2002-06-06 Thread Ramon Maria Gallart
I've just tried with the servlet and it works fine. Do what Oleg says. Send us your java code (if you can). Ramon. -Mensaje original- De: chandrakant_binwani [mailto:[EMAIL PROTECTED] Enviado el: jueves, 06 de junio de 2002 16:53 Para: [EMAIL PROTECTED] Asunto: RE: Problem with PDF

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
Here how i'm trying to implement PDF generation: public static void Print() throws Exception { try { String xslParam = D:\\tempReports\\testReport.xml;

RE: Problem with PDF generation

2002-06-06 Thread chandrakant_binwani
Thanks a lot Oleg... It finally worked Very silly mistake on my part -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Thursday, June 06, 2002 10:37 PM To: [EMAIL PROTECTED] Subject: Re: Problem with PDF generation chandrakant_binwani wrote: Here how i'm

RE: Problem with PDF generation

2002-06-06 Thread Robert Morse
But it was helpful to us newbies who will probably make similar errors. The more examples I see, the better. Just wish there was someone out there who could take one of my sample reports that I need to generate, and create the whole thing from start to finish. I could use that as a model for

Re: Use a relative path

2002-06-06 Thread J.Pietschmann
Florence Deforge wrote: I'm not sure it makes the difference but I always precede the relative path with the file: string like this : fo:external-graphic src=file:ecu.jpg/ That's a *bad* idea, actually violating URL syntax. See http://marc.theaimsgroup.com/?l=xml-cocoon-devm=102027988321347w=2

Null values

2002-06-06 Thread Esteban Gonzalez
I´m getting this error... java.lang.IllegalArgumentException: The input node can not be null for a DOMSource for newTemplates! It´s probably because the xml has tags like this seguroEmitido pais/pais codigo/codigo

Re: Use a relative path

2002-06-06 Thread J.Pietschmann
Hahn Kurt (CHA) wrote: I need to add a graphics file, originally placed in the same directory where my sitemap is located. ¨There's no problem if I use an absolute path, the file is displayed. If I use a relative path, nothing. The file is very small, so I even copied in other subdirectories, but

Re: Table alignment

2002-06-06 Thread J.Pietschmann
Ismaeil, Sameh Z wrote: I want to align a table, whose width is smaller than the body width, to be in the center of the page body I think I read a solution before on this list, suggesting to put the table inside the cell of another one-cell table, but I don't know which attribute to use and on

Re: Performance Guidance

2002-06-06 Thread J.Pietschmann
Zahigian, Mike wrote: I am using FOP to take a single page of XSL:FO content and convert to PDF. I have embedded FOP in a servlet. When I have one user requesting a page it takes about 6 or 7 seconds to get the page formatted as PDF. It seems like each additional simultaneous request pushes the

RE: Performance Guidance

2002-06-06 Thread Zahigian, Mike
Matt, I'm not sure what you mean by a one FOP processing thread per appserver instance? J., I am getting data out of some javabeans in the form of xml, then this xml is transformed using a stylesheet, then another transformation takes place to create the xsl:fo and then FOP takes over. I'll go

RE: Performance Guidance

2002-06-06 Thread Savino, Matt C
I mean every other thread has to wait. I have the FOP processor wrapped in a stateless session bean and I limit the number of instances of that bean to one. This is because of the serious performance drop-off we see when FOP is run more than once concurrently. I'm still working out some of the

RE: Performance Guidance

2002-06-06 Thread Zahigian, Mike
I get it. Do you know if I can similarly limit the number of instances of a servlet to one? Mike Z. -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 other