You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Eric Vernichon <ry...@free.fr> on 2001/08/09 19:29:16 UTC
[C2] dynamic generation of an XSP
I need to generate dynamically an xsp page.
I get an xml fragment from a string (called results) with a first xsp page (the
request is something like this : submitdata.xsp?data={results}).
Secondly, I use an xslt to transform the string results into another xsp page
with esql code into it.
Now, I need to process this second page, but i don't know how.
Here's what i use in sitemap.xmap :
<map:match pattern="test/submitdata.xsp">
<map:generate type="serverpages" src="test/submitdata.xsp"/>
<map:transform src="test/xml2sql.xsl"/>
<map:serialize/>
</map:match>
I found something in sitemap.xmap :
<map:transform type="sql">
<map:parameter name="use-connection" value="personnel"/>
</map:transform>
Is it a good idea to add it after my <map:transform ...> ?
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>