From: Wolfgang M. <wol...@gm...> - 2005-04-24 13:29:20
|
> I want to get some parameters from a cocoon pipeline into a xquery. >=20 > Here's my pipline: >=20 > <map:match pattern=3D"testparameters.xq"> > <map:generate src=3D"parameters.xq" type=3D"xquery"> > <map:parameter name=3D"testpar" value=3D"foo"/> > </map:generate> > <map:serialize type=3D"xml"/> > </map:match> >=20 > What must I do to reach the parameter 'testpar' in a xquery with $testpar= ? The generator passes all optional parameters into the xquery. They are declared as global variables. So just using $testpar within the query should work. Wolfgang |