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

Re: p:for-each

From: Norman Walsh <Norman.Walsh@Sun.COM>
Date: Thu, 20 Jul 2006 10:33:04 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <871wsg4a8v.fsf@nwalsh.com>
/ 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,

Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:40 UTC