Re: Use Case 5.29: Large Document Subtree Iteration

/ 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