To get a PDF, you must have an XML file. See if you can use a pipeline which
outputs xml and another one which matches the link to the pdf for example,
so that the second pipeline can call the first one.

Or, after the xsp transformation, use an xsl fo stylesheet (transform
src="myxslfo.xsl") then serialize as pdf (serialize type="fo2pdf"). This
should work fine.

Just my 2 cents,

Babs
----- Original Message -----
From: "Sreenivasan N." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 1:47 PM
Subject: Doubt which cocoon-user mailing list couldn't solve


> Hi Stefano
>
> This is sreenivasan from India. Infact i am contacting you for the second
> time personally.  I am working for a company as a consultant to develop an
> xml based intranet and also as a add-on to a product.
>
> The requirement is something like this. We have got two set of category
> like admin and user. The admin will be able to create templates for the
> users where the user enter data and xml file is generated (We are using
> Chiba for this ). Is there any good mean to achieve this. Now there is a
> performance issue is there.
>
> We will be generating html, xml, rtf and pdf from a query to database
based
> on a form. That is XSP page is loaded with listbox where value to be send
> as parameter is taken from the database. Once the query is executed the
> user should have a flexible to take the output as pdf, rtf. Now the
problem
> is our sitemap is like this
>
> <map:match pattern="xsp/*">
> <map:generate src="docs/samples/xsp/{1}.xsp" type="serverpages"/>
> <map:transform src="stylesheets/dynamic-page2html.xsl">
> </map:transform>
> <map:serialize type="html"/>
> </map:match>
>
> When we click on the link the xsp with parameter data is loaded. After
> query i couldn't capture the output if i want to generate pdf since the
> pipeline to over.
>
> And also is there any way to generate charts where data comming from
> database? we could generate pie chart from a static xml but legends are
not
> dynamic.
>
> I will be grateful if you suggest someway because we have to finalize our
> requirement.
>
> Regards
> Sreenivasan.
>
>
>
>
>
>
>
> "Attitudes are much more important than aptitudes."
> "Nothing is impossible for a willing heart"
>
> Sreenivasan N.
> Sony SARD
> Ext 5816
>
> Email. [EMAIL PROTECTED]
> Per: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
> ______________________________________________________________________
> Etudiant: Wanadoo t'offre le Pack eXtense Haut Débit soit 150,92 euros
> d'économies ! Clique ici : http://www.ifrance.com/_reloc/mail.etudiant


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to