- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Thu, 13 Jul 2006 10:48:21 -0400
- To: public-xml-processing-model-wg@w3.org
- Message-ID: <87ac7dwoga.fsf@nwalsh.com>
/ Alex Milowski <alex@milowski.org> was heard to say:
[...]
| <p:for-each select="section" over="large-doc" to="iteration">
| <!-- input isn't needed here because this "for-each" has
| to iterate over elements. The input is identified by
| the 'over' attribute and the binding for each result
| element is specified by the 'to' attribute. -->
| <p:output name="final" from="transformed"/>
| <p:step kind="p:xmlbase">
| <p:input name="input" from="iteration"/>
I like this a lot better than the previous example which appeared to
have the for-each pointing at an input. But I think this would be
clearer this way:
<p:for-each select="section" over="large-doc" name="iteration">
<p:output name="final" from="transformed"/>
<p:step kind="p:xmlbase">
<p:input name="input" from="iteration"/>
...
Be seeing you,
norm
--
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.
Received on Thursday, 13 July 2006 14:48:41 UTC