cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cib" <>
Subject Apidocs Dynamic xsl
Date Thu, 06 Sep 2001 18:23:18 GMT
I'd like to generate an xsl from an xsp (an example of this below)
and save this it on my disk automatically (overwriting the previous one)
and use it as a transformer for requests(I already know this part).

I've found this in apidocs:
public FileSavingEnvironment(java.lang.String uri,
                             java.util.Map attributes,
                             java.util.Map parameters,
                             java.util.Map links,
                             org.apache.log.Logger log)
Unfortunatly, I don't know any java, and all this package stuff is chinese
to me. I've read doc on xsp and logic, but I don't know at all what to do
with this FileSavingEnvironment(): where to put it, what by any means are
the parameters?

My xsp to generate my xsl shoudl be like:

doc_ID =
<xsp-request:get-parameter name="document_ID"/>;

 <esql:query>SELECT * from <xsp:expression {doc_ID}/></esql:query>

<xsl:template match="<esql:get-string column='notionID'/>">
<esql:get-string column="comment"/>
<xsl:value-of select=".">


  <p>Sorry, no results in user_info</p>

But how to make this be the stream for the FileSavingEnvironment(), that is
mystery to me.

Please, a bit of help.
An answer or a link for a tutorial that goes directly to explaining the
package stuff in apis, and how to do file management through cocoon or
simply with the jdk.

France, Bordeaux, xml and gay pride.

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message