cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cib" <c....@laposte.net>
Subject FileSavingEnvironment
Date Wed, 05 Sep 2001 07:12:34 GMT
Hi
I want to generate an xsl and save it to the disk.
I've found this in apidoc, but I've never done any java.
Can someone tell me where I must put this formula, and how to fill the
parameters.

public FileSavingEnvironment(java.lang.String uri,
                             java.io.File context,
                             java.util.Map attributes,
                             java.util.Map parameters,
                             java.util.Map links,
                             java.io.OutputStream stream,
                             org.apache.log.Logger log)
                      throws java.net.MalformedURLException
Let's say my xsl will be called first.xsl, and will be in
G:\Tomcat\webapps\cocoon\xml\test\styles
I don't know anything else.
I've read some of the java cocoon docs, but I don't know how to get the
stream output from the xsp that generates my xsl and send it to the
FileSavingEnvironment forrmula.
How can I tell it I want the old first.xsl to be overwritten?
Thanks for your help
Cib

France, Bordeaux, xml and gay pride.


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

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


Mime
View raw message