coliver 2003/05/25 10:05:46
Modified: src/documentation/xdocs/userdocs/flow jpath.xml
jxtemplate.xml sitemap.xml
Log:
a few more corrections
Revision Changes Path
1.5 +4 -4
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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jpath.xml 25 May 2003 01:26:00 -0000 1.4
+++ jpath.xml 25 May 2003 17:05:45 -0000 1.5
@@ -47,10 +47,10 @@
<choose>
<when test="XPathExpression">
body
- </when>
+ </when>+
<otherwise>
body
- </otherwise>
+ </otherwise>?
</choose>
</source>
<p>Example:
@@ -92,12 +92,12 @@
<source>
<for-each select="cart/cartItems[position() <= $count]">
<td><value-of select="./productId"></td>
-</forEach>
+</for-each>
</source>
</p>
</s2>
<s2 title="continuation">
-<p>The <code>continuation</code> tag returns the id of the current web
continuation of your Flowscript. You can refer to previous continuations by
supplying the <code>level</code> attribute. Zero is the current level,
<code>-1</code> refers to the previous continuation, and so on.</p>
+<p>The <code>continuation</code> tag returns the id of the current web
continuation of your Flowscript. You can refer to previous continuations by
supplying the optional <code>level</code> attribute. Zero is the current level,
<code>-1</code> refers to the previous continuation, and so on.</p>
<source>
<continuation [level="Number"]/>
</source>
1.5 +5 -5
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.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- jxtemplate.xml 25 May 2003 04:29:00 -0000 1.4
+++ jxtemplate.xml 25 May 2003 17:05:45 -0000 1.5
@@ -16,7 +16,7 @@
</s1>
<s1 title="Expression Languages">
<p>
-The JXTemplateGenerator supports two embedded expression languages: <link
href="http://jakarta.apache.org/commons/jexl">Jexl</link> and <link
href="http://jakarta.apache.org/commons/jxpath">JXPath</link>. Apache <link
href="http://jakarta.apache.org/commons/jexl">Jexl</link> provides an extended
version of the expression language of the <link
href="http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL.html">JSTL</link>.
Apache <link href="http://jakarta.apache.org/commons/jxpath">JXPath</link>
provides an interpreter of the <link
href="http://www.w3.org/TR/xpath">XPath</link> expression language that can
apply XPath expressions to graphs of Java objects of all kinds: JavaBeans,
Maps, Servlet contexts, DOM etc, including mixtures thereof.
+The JXTemplate Generator supports two embedded expression languages: <link
href="http://jakarta.apache.org/commons/jexl">Jexl</link> and <link
href="http://jakarta.apache.org/commons/jxpath">JXPath</link>. Apache <link
href="http://jakarta.apache.org/commons/jexl">Jexl</link> provides an extended
version of the expression language of the <link
href="http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL.html">JSTL</link>.
Apache <link href="http://jakarta.apache.org/commons/jxpath">JXPath</link>
provides an interpreter of the <link
href="http://www.w3.org/TR/xpath">XPath</link> expression language that can
apply XPath expressions to graphs of Java objects of all kinds: JavaBeans,
Maps, Servlet contexts, DOM etc, including mixtures thereof.
</p>
<p>
Having an embedded expression language allows a page author to access an
object using a simple syntax such as
@@ -77,7 +77,7 @@
</source></p>
</s1>
<s1 title ="Tags">
-<p>The JXTemplateGenerator tags are defined in the namespace</p>
+<p>The JXTemplate Generator tags are defined in the namespace</p>
<source>
http://apache.org/cocoon/templates/jx/1.0
</source>
@@ -145,10 +145,10 @@
<choose>
<when test="Expression">
body
- </when>
+ </when>+
<otherwise>
body
- </otherwise>
+ </otherwise>?
</choose>
</source>
<p>Jexl Example:
@@ -233,7 +233,7 @@
<s2 title="macro">
<p>The <code>macro</code> tag allows you define a new custom tag.</p><source>
<macro name="Name" [targetNamespace="Namespace"]>
- <parameter name="Name" [optional="Boolean"] [default="Value"]/>
+ <parameter name="Name" [optional="Boolean"] [default="Value"]/>*
body
</macro>
1.4 +1 -1
cocoon-2.1/src/documentation/xdocs/userdocs/flow/sitemap.xml
Index: sitemap.xml
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/documentation/xdocs/userdocs/flow/sitemap.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sitemap.xml 25 May 2003 00:51:02 -0000 1.3
+++ sitemap.xml 25 May 2003 17:05:45 -0000 1.4
@@ -12,7 +12,7 @@
<body>
<s1 title="Sitemap">
- <p>The Cocoon sitemap includes several elements to specify interactions
with your Flowscripts</p>
+ <p>The Cocoon sitemap includes several elements to specify interactions
with your Flowscripts.</p>
<s2 title="flow">
<p>The <code>flow</code> element defines a Flowscript interpreter for a
sitemap. The <code>language</code> attribute specifies the target programming
language. Currently the only supported language is <code>"JavaScript"</code>.
Its embedded <code>script</code> elements allow you to specify the files that
make up the flow for this sitemap. Each <code>script</code> element specifies
the URI of a script that will be compiled and executed when this Sitemap is
created. The <code>src</code> attribute specifies the URI of the script.</p><p>
<source><![CDATA[