RE: Prob. referring XSL over URI (Pls. consider this out of conte xt p ost)
Thanks for the response. I understand that part of passing any URL, but my problem is, when I deploy the application, the XSLs get deployed under the httpRoot, and I want to read them without any specific reference to the deployment area(i.e. webserver, filesystem, etc.). My servlet is reading XSL filename (/x/y/z.xsl) from a file, but it don't know in advance where it will be deployed. I hope it's clear this time. Thanks again, Sumanta Dutta -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 21, 2002 5:54 PM To: [EMAIL PROTECTED] Subject: Re: Prob. referring XSL over URI (Pls. consider this out of context p ost) Dutta, Sumanta wrote: I am trying to refer my XSL, which generates the FO, over a URI, relative to my http codebase. If I create the XSL source by passing /x/y/z.xsl, the transformer tries to find file://x/y/z.xsl. Is there any way to resolve this in reference to my current http codebase. I tried to do get the servername from http request, and append the URI, which is working in my local test setup, but not good for actual installation, as requests may be coming through different proxies. I suppose you are implementing a servlet. If you create the transformer yourself, you can pass any URL to the StreamSource for the XSL, including HTTP URLs. How you determine the URL is a matter of your servlet. I don't understand this part of the problem, usually servlets read XSL from files instead from HTTP requests. You'll have to supply some more details. J.Pietschmann -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Incomplete PDF content
I am facing a strange problem while generating PDF in Servlet. I have got two PDF reports to generate at present. I can generate one PDF properly, but the other one, whose structure is similar to and simpler than the first one, is coming out incomplete. It gives me the header and footer, and an incomplete body. I tested my xsl by running through the standalone fop.dat (in FOP-0.20.3) against the same XML data. It's generating the complete XML. I am completely lost. Could anybody please help me! Thanks, Sumanta -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Problem writing XML content through JspWriter
Hi, I know that this is not the right place to post this, just in case if anybody has faced the same problem, as all of us handling XML for FOP. I am trying to send some XML content to browser. I have a perfectly generated XML, which if I write using ServletOutpurStream in a Java Servlet, works flawlessly, and I see the XML on the browser. But, if I use the same piece of code in a JSP, and write to out, I see some junk data, without any XML tags. I did set response.contentType to text/xml in both the cases. I even tried the contentType attribute of page directive. But no luck. Could anybody please tell me what's wrong!! Thanks a lot in advance. Sumanta. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
PDF Link getting submitted twice
Hi, I am getting a strange problem. I have a link on a HTML page to get PDF report. I generate the PDF on the fly using servlet. Everything is fine, except the request is getting submitted twice. I checked the javascript staff which submits the page on click of that link. It seems when the PDF plug-in getting activated, its trying to open the URL once again. Any idea!! Thanks, Sumanta. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Some Border Issues
Hi, I am trying to design a page with some tables. I need to separate content by borders. If I try to apply after/before border on block contents inside table-cell, the borders go out of the table-cell start and end edges. The same thing happens with padding-start/end, though indent-start/end is fine. I am also not getting any border if I apply border-after on a table-row/cell. I am using apache/FOP-0.20.1. Is it an implementation issue, or I am doing something wrong? I appreciate your help. Thank you very much. --Sumanta. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
RE: FOP API
Hi Jay, I downloaded Fop-0.20.1-bin.tar.gz, and you are right, it has a docs directory. But I don't see any javadoc anywhere under it. It has html-docs, which is same as the website. Thanks, Sumanta. -Original Message- From: S. Jayaraman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 19, 2002 10:59 AM To: [EMAIL PROTECTED] Subject: AW: FOP API Hi You must have got it when you downloaded the FOP package. There is a Doc directory. Cheers Jay -Ursprüngliche Nachricht- Von: Dutta, Sumanta [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 19. März 2002 17:06 An: '[EMAIL PROTECTED]' Betreff: FOP API Hi, Is there any javadoc for the FOP classes (like Driver, etc.)? I could not find anything on http://xml.apache.org/fop/index.html. Thanks, Sumanta. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice. -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.