W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > February 2012

Re: A parameters alternative

From: Norman Walsh <ndw@nwalsh.com>
Date: Sat, 11 Feb 2012 18:02:46 +0100
To: public-xml-processing-model-wg@w3.org
Message-ID: <m2ty2xi9qh.fsf@nwalsh.com>
"vojtech.toman@emc.com" <vojtech.toman@emc.com> writes:
> 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>

Or just

  <p:parameters parameters="params"/>

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
Phone: +1 413 624 6676
www.marklogic.com

Received on Saturday, 11 February 2012 17:03:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 11 February 2012 17:03:44 GMT