Oups, my last message wasn't really readable. I'll be more carefull. I'd like to generate an xsl from an xsp, save it to a cocoon sub directory, and use it to transform xml files. My xsl should be made from such an xsl.xsp: <xsp:logic> doc_ID = <xsp-request:get-parameter name="document_ID"/>; </xsp:logic> <esql:connection> <esql:pool>notions</esql:pool> <esql:execute-query> <esql:query>SELECT * from <xsp:expression {doc_ID}/></esql:query> <esql:results> <xsl:template match="<esql:get-string column='notionID'/>"> <esql:get-string column="comment"/> <xsl:value-of select="."> </xsl:template> </esql:row-results> </esql:results> <esql:no-results> <p>Sorry, no results in user_info</p> </esql:no-results> </esql:execute-query> </esql:connection> How should I make a sitemap to create this xsl file. And how to save it on disk after it was generated. Thanks for any comment. 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>