coliver 2003/05/25 10:17:40
Modified: src/documentation/xdocs/userdocs/flow jpath.xml
Log:
fixed for-each
Revision Changes Path
1.6 +3 -3
cocoon-2.1/src/documentation/xdocs/userdocs/flow/jpath.xml
Index: jpath.xml
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/jpath.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- jpath.xml 25 May 2003 17:05:45 -0000 1.5
+++ jpath.xml 25 May 2003 17:17:40 -0000 1.6
@@ -79,12 +79,12 @@
</p>
</s2>
<s2 title="for-each">
-<p>The <code>forEach</code> tag allows you to iterate over a collection
+<p>The <code>for-each</code> tag allows you to iterate over a collection
of objects:</p><p>
<source>
- <forEach select="XPathExpression">
+ <for-each select="XPathExpression">
body
- </forEach>
+ </for-each>
</source>
<p>When using XPath expressions within <code>for-each</code> the current
element is the context node and can be referenced with:</p>
<source>.</source></p>