cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Pipeline output as map:parameter to sql transformer (sql:substitute-value)
Date Mon, 09 Apr 2007 10:59:35 GMT

Can I use the output of a pipeline inside an <sql:substitute-value> ?

Something like:

	<map:match pattern="listStuff">
		<map:generate src="listStuff.xml"/>
		<map:transform type="sql">
			<map:parameter name="some_key" value="cocoon:/getKey"/>
		<map:transform src="listStuff.xsl"/>


	SELECT something FROM somewhere WHERE name = '<sql:substitute-value name="some_key"/>'))

If not, how can I use a pipeline output like <some_key>blahblah</some_key> for
a query?

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

View raw message