You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by co...@apache.org on 2003/05/30 16:58:24 UTC
cvs commit: cocoon-2.1/src/documentation/xdocs/userdocs/flow jxtemplate.xml
coliver 2003/05/30 07:58:24
Modified: src/documentation/xdocs/userdocs/flow jxtemplate.xml
Log:
fixed forEach xpath example
Revision Changes Path
1.7 +1 -1 cocoon-2.1/src/documentation/xdocs/userdocs/flow/jxtemplate.xml
Index: jxtemplate.xml
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/jxtemplate.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- jxtemplate.xml 25 May 2003 19:25:06 -0000 1.6
+++ jxtemplate.xml 30 May 2003 14:58:24 -0000 1.7
@@ -210,7 +210,7 @@
</source>
<p>JXPath Example:</p>
<source>
-<forEach items="#{cart/cartItems[position() <= $count]}}>
+<forEach select="#{cart/cartItems[position() &lt;= $count]}}>
<td>#{./productId}</td>
</forEach>
</source>