Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 60439 invoked by uid 500); 21 Mar 2003 17:05:07 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 60426 invoked from network); 21 Mar 2003 17:05:07 -0000 Received: from mail.cit.ie (157.190.14.15) by daedalus.apache.org with SMTP; 21 Mar 2003 17:05:07 -0000 Received: from franks (unverified [157.190.26.82]) by cit.ie (Rockliffe SMTPRA 5.2.5) with ESMTP id for ; Fri, 21 Mar 2003 17:06:26 +0000 From: "Frank Daly" To: Subject: RE: transform xsp generated xml to pdf Date: Fri, 21 Mar 2003 17:06:24 -0000 Message-ID: <000001c2efcc$35263b20$521abe9d@cit.ie> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: <3E7B4079.6090509@gmx.de> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks a million Joerg, That worked. Enjoy your weekend, Frank -----Original Message----- From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] Sent: 21 March 2003 16:40 To: cocoon-users@xml.apache.org Subject: Re: transform xsp generated xml to pdf Hello Frank, it's good to hear, that at least the static XML works. So there are not more so many possibilities. If 'test2.pdf' works (returns a PDF), something must be wrong with the other pipeline. Did you really request 'result.xml'? If you get XML with this request, there must be another matching pipeline, i.e. not the one below is used. Can you temporarily clean up your sitemap (remove all pipelines) and add some test pipelines: This one should return the XML you already have as static file. This one should return the XSL FO representation of the latter PDF. And this one should return the PDF itself. Try to request 'result.xml', 'result_fo.xml' and 'result.pdf' in the browser and see what you get. Regards, Joerg Frank Daly wrote: > Thanks for your post Joerg > > My pipeline is > > > > > > > > The funny thing is I copied the XML from IE6 into a text file, deleteted > the minus signs, set up a new pipeline as below and this works. > > > > > > > > Frank > > > -----Original Message----- > From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] > Sent: 21 March 2003 15:45 > To: cocoon-users@xml.apache.org > Subject: Re: transform xsp generated xml to pdf > > Hello Frank, > > Frank Daly wrote: > >>Hi >> >>I have worked through Leigh Dodds, IBM Developer Works, excellent >>tutorial >>showing how to use cocoon to query databases. I am able to generate > > the > >>xml data and output this in IE6. My problem starts when I try to >>transform this data to xsl:fo and then pdf. >> >>My xml file contains child nodes. The xml outputted to IE6 contains >>minus >>signs, -, to allow a user to close the parent node and hide the child >>nodes. >>Could it be these minus signs that prevents the pdf file being >>generated? > > > Uh? What has the presentation in IE6 to do with the XML itself? IE only > transforms the XML it gets to the HTML with the minus signs you see when > > viewing XML in IE. If you see such a page without any error message from > IE, > it's correct XML. > > In which way did you try to get PDF? You must transform your XML into > XSL > FO, which can then be serialized to PDF. How does your pipeline look > like? > > >>I just get a blank screen. I'm using tomcat 4.1.18 and cocoon 2. >> >>If there is an example on the web, I'd appreciate a link. >> >>TIA >> >>Frank > > > Regards, > > Joerg > -- System Development VIRBUS AG Fon +49(0)341-979-7419 Fax +49(0)341-979-7409 joerg.heinicke@virbus.de www.virbus.de --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org -------------------Legal Disclaimer--------------------------------------- The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt. ------------------------------------------------------------------------ ---------------- -------------------Legal Disclaimer--------------------------------------- The above electronic mail transmission is confidential and intended only for the person to whom it is addressed. Its contents may be protected by legal and/or professional privilege. Should it be received by you in error please contact the sender at the above quoted email address. Any unauthorised form of reproduction of this message is strictly prohibited. The Institute does not guarantee the security of any information electronically transmitted and is not liable if the information contained in this communication is not a proper and complete record of the message as transmitted by the sender nor for any delay in its receipt. ---------------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org