Re: Variables and parameters

On 5/19/06, Norman Walsh <Norman.Walsh@sun.com> wrote:
> Having p:param and p:with-param but using p:input and p:output in both
> places just seems confusing.

Agreed. My preference at this point goes to:

    <p:pipeline name="mySubsteps">
        <p:param .../>
        <p:input .../>
        <p:output .../>
    </p:pipeline>

and

    <p:step name="mySubsteps">
        <p:with-param .../>
        <p:with-input .../>
        <p:with-output .../>
    </p:step>

The downside is added verbosity while the upside is that we make a
clear difference between:

a) Declaring an input or parameter with <p:input> or <p:param>
b) Passing data to an input or parameter with <p:with-input> or <p:with-param>

Alex
-- 
Blog (XML, Web apps, Open Source):
http://www.orbeon.com/blog/

Received on Friday, 19 May 2006 22:24:45 UTC