cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ypom...@freemail.gr
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:pipeline>
	<map:match pattern="listStuff">
		<map:generate src="listStuff.xml"/>
		<map:transform type="sql">
			<map:parameter name="some_key" value="cocoon:/getKey"/>
		</map:transform>
		<map:transform src="listStuff.xsl"/>
	</map:match>
</map:pipeline>

and

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



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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message