cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cib" <c....@laposte.net>
Subject create and save xsl with C2
Date Tue, 04 Sep 2001 18:11:11 GMT
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message