What about using the cocoon xreporter?

> Hi Jonathon
> 
> If you already have a class which generates a JDOM object, you could refer to it in 
> an XSP (this is probably the easiest way), or write a Transformer that wraps the 
> JDOM object and serializes it as SAX.
> 
> Or, if you don't already have this Java class, you should consider doing the whole 
> thing using existing Cocoon components, without Java programming, with a pipeline 
> like this:
> 
> 1) use the SQLTransformer to query the database
> 2) use an XSLT to convert the SQL results (XML) to another XML representation, 
> appropriate to your data model
> 3) use another XSLT to convert to your presentation format (XLS)
> 
> Cheers!
> 
> Con
> 
> > -----Original Message-----
> > From: jonathan wong [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 19 September 2003 1:30 p.m.
> > To: [EMAIL PROTECTED]
> > Subject: Re: Hello ! Can I generate PDFs and XLS through a document
> > object and Cocoon ?
> > 
> > 
> > Dear Joerg , 
> > 
> >  Hello ! I am so pleased to hear it is possible . I
> > want to design my application as : 
> > 
> > 1. some data are stored in a database 
> > 2. a class gets a resultset and create a JDOM document
> > object . 
> > 3. the class fit the database data to the document
> > object . 
> > 4. how can I match the JDOM document object to the
> > corresponding XSL and generate a XLS ? 
> > 
> > So , possible ? Thank you ! 
> > 
> > --- Joerg Heinicke <[EMAIL PROTECTED]> wrote:
> > > Yes, should be possible by writing your own simple
> > > generator. Where do 
> > > you get the JDOM object from?
> > > 


-- 
 
Best regards,
Yury Mikhienko.
IT ERP group head, ZAO "Mobicom-Kavkaz"

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

Reply via email to