On Monday 25 February 2002 14:26, terracare wrote:
>. . .
> Can you give a typical example of how you might use it for such a
> "non-data" pipeline?
By non-data I meant a pipeline that only uses the request parameters as
its direct input, for example:
RequestGenerator -> CreateSQL -> SQLTransformer ->. . .
in that case, "CreateSQL" would be an XSLT transform that, based on the
request parameters, creates suitable XML for SQLTransformer to make a
database query.
The corresponding sitemap excerpt looks like:
<map:match pattern="sql-query/*.xml">
<map:generate type="request"/>
<map:transform src="request-to-sql.xsl"/>
<map:transform type="sql">
<map:parameter name="use-connection" value="prodDb"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
Does this help?
--
-- Bertrand Delacr�taz, www.codeconsult.ch
-- web technologies consultant - OO, Java, XML, C++
---------------------------------------------------------------------
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]>