> > 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>
no, this is certainly not possible, and will never be (a String is expected as a value, not a SAX events generating pipeline). But of course, you are not the only one wanting things like this. Are you aware of input modules and how they work? You need one namely, Regards Ard > > and > > <sql:query> > SELECT something FROM somewhere WHERE name = > '<sql:substitute-value name="some_key"/>')) > </sql:query> this is ok > > > > If not, how can I use a pipeline output like > <some_key>blahblah</some_key> for a query? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
