cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Neu" <peter....@gmx.net>
Subject AW: AW: How to use cocoon servlet only for rendering documents?
Date Wed, 15 Feb 2006 15:18:20 GMT
Hello Bertrand,

I managed to send my xml in a post request to cocoon and retrieve the ouput
back in pdf. But one thing I couldn't figure out so far is how to actually
read the xml from the post request into my sitemap. Can you please provide a
short code snippet?

The relevant part looks like this:

<map:match pattern="pdf">
  <map:generate src="data/user.xml"/>  //still a hard coded resource
  <map:transform src="stylesheets/user.xsl"/>
  <map:serialize type="fo2pdf"/>
 </map:match>


Cheers,
Pete

-----Urspr√ľngliche Nachricht-----
Von: Bertrand Delacretaz [mailto:bdelacretaz@apache.org] 
Gesendet: Dienstag, 14. Februar 2006 14:16
An: dev@cocoon.apache.org
Betreff: Re: AW: How to use cocoon servlet only for rendering documents?

> ...Your are refering to the jakarta commons httpclient library?...

yes.

-Bertrand


Mime
View raw message