- From: <vojtech.toman@emc.com>
- Date: Fri, 10 Feb 2012 10:44:24 -0500
- To: <public-xml-processing-model-wg@w3.org>
> > Oh, I think I misunderstood your initial email. So using
> parameters="A
> > B C" means that the union of all parameters in A, B, and C will be
> > passed to the step? If so, how do you then access the parameters
> > inside the step? Using the name "parameters" or using "p:global",
> > "my:computed" etc.?
>
> Do we need that? If you want to access them in a step, you can use
> options. I'm imagining that parameters retain their magic bindings in
> XSLT, XQuery, etc.
Suppose I want to write a pipeline that takes a collection of parameters and iterates over them. Would I do something like this?
<p:declare-step>
<p:option name="params" type="p:parameters"/>
<p:parameters>
<p:with-param sets="params"/>
</p:parameters>
...
</p:declare-step>
Regards,
Vojtech
--
Vojtech Toman
Consultant Software Engineer
EMC | Information Intelligence Group
vojtech.toman@emc.com
http://developer.emc.com/xmltech
Received on Friday, 10 February 2012 15:45:42 UTC