- From: Norman Walsh <Norman.Walsh@Sun.COM>
- Date: Wed, 19 Jul 2006 16:11:44 -0400
- To: public-xml-processing-model-wg@w3.org
Received on Wednesday, 19 July 2006 20:11:56 UTC
A for-each looks like: for-each := ($over, $select?, $label, with-output, {body}) Where $over identifies a stream over which the XPath expression in $select should be applied. The body of the element is applied to each node (or nodes) selected. The nodes are available as a a document (with the label $label) to the body of the for-each. The single with-output element (which must have the name 'result') identifies which output from the steps in the body is to be considered the output of each application. The result of the entire step is the sequence of results obtained from each application. Be seeing you, norm -- Norman Walsh XML Standards Architect Sun Microsystems, Inc.
Received on Wednesday, 19 July 2006 20:11:56 UTC