cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathan wong <john78w...@yahoo.com>
Subject Re: Hello ! Can I generate PDFs and XLS through a document object and Cocoon ?
Date Fri, 19 Sep 2003 06:10:11 GMT
Dear Yury , 

 Hello ! Does xreporter is samilar to Cocoon ? I can't
search any tutorial of it ! Thank you ! 

--- Yury Mikhienko <Yury.Mikhienko@mobicomk.ru> wrote:
> 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:john78wong@yahoo.com]
> > > Sent: Friday, 19 September 2003 1:30 p.m.
> > > To: users@cocoon.apache.org
> > > 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 <jheinicke@virbus.de> 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:
> users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail:
> users-help@cocoon.apache.org
> 


=====
Jonathan 
(Wong Yat Sing) 
Jonathan Studio
M.P (852) - 91235947 
NetMeeting : jonathan78wong@msn.com
ICQ# 57646152 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message