Re: p:for-each

/ Alessandro Vernet <avernet@orbeon.com> was heard to say:
| Also, just as we like to have a <p:with-output> which has a different
| element name than the pipeline <p:output>, I suggest we used different
| element names here: <p:for-each-input> and <p:for-each-output>. This
| makes it clear that a <p:for-each-input> is an input, but not exactly
| like the <p:input> and <p:with-input> (all those elements also accept
| different set of attributes).

Do they?

| That gives:
|
| <p:for-each>
|   <p:for-each-input from="documents-to-import"
|           select="/xpath"
|           label="one-document"/>
|   <p:for-each-output label="sequence-of-errors"
|           from="error-for-this-document"/>

Yes, but if we move select and label to the for-each, then the attributes
on p:for-each-input are exactly the same as the attributes on p:with-input,
I believe.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Thursday, 20 July 2006 14:33:19 UTC