can this snip help you a litle?
<map:match pattern="*.pdf">
<map:generate src="cocoon:/xml/{1}.xhtml"/>
<map:transform src="osml/print/page2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
On 6/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am using Tomcat's MySQL JDBC connection to connect to my database ,
> and then displaying the pages using JSTL tags. So I already have my
> data going to a webpage already..
>
> And now I would like to make it possible for users to export to pdf &
> excel. I already wrote an xsl-fo file that converts my .jsp pages and
> it works. How do I embed it into my web application using cocoon?
>
> thanks
>
>
> On 6/23/05, Carlos M. S. Bento Nogueira <[EMAIL PROTECTED]> wrote:
> >
> > Hey there! What exactly do you want to do?
> > I can think in a couple of ways to achieve what you want.
> > Here are some questions you should answer or think about first:
> >
> > - Where is the data coming from(postgresql,oracle,mysql,xml data...)
> >
> > - what connection to it are you using or want to use (jdbc/ldap/jndi ??)
> >
> > - where should result data go: a webpage, a webfile, a webpage that points
> > to a certain set of webfiles, a database...?
> >
> > First of all clarify your mind on these questions and then go to
> > http://cocoon.apache.org/2.1/
> > and check the info.
> >
> > Here are some other usefull pointers, i'm using:
> >
> > To search de mailing list:(Always search before posting a question.)
> > http://blog.gmane.org/gmane.text.xml.cocoon.user/
> > http://marc.theaimsgroup.com/?l=xml-cocoon-users&r=1&w=2
> > http://www.mail-archive.com/cocoon-users%40xml.apache.org/
> >
> > Wikis and other tutorials
> > http://wiki.apache.org/cocoon/
> > http://www.planetcocoon.com/
> >
> > There is also an #cocoon irc channel on irc.freenode.net
> >
> > Good luck,
> > CarlosN.
> >
> > ps: wikis are great but beware of cocoon version they refer to.
> >
> >
> >
> > On Thu, 23 Jun 2005, [EMAIL PROTECTED] wrote:
> >
> > > I installed cocoon 2.1 on Tomcat 5. Its working and
> > > I just went through the sample. However, am still very confused
> > > as to how to integrate this with my web projects.
> > >
> > > I need make it possible for users to export data on the fly to EXCEL and
> > > PDF.
> > > Am guessing I have to somehow write a pipeline that picks the
> > > URL and request parameters and transform the particular user data on the
> > > page
> > > to customer's desired format.
> > > Can someone please direct me on how to begin or are there any articles
> > > out there
> > > that can assist me further with this project.?
> > >
> > > thanks
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > --
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Stavros Kounis Osmosis networks & consulting
http://tools.osmosis.gr/blog http://www.osmosis.gr
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]