haul 2002/06/08 10:23:55
Modified: src/documentation/xdocs/userdocs/xsp esql.xml
Log:
fix example
Revision Changes Path
1.6 +13 -9 xml-cocoon2/src/documentation/xdocs/userdocs/xsp/esql.xml
Index: esql.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/documentation/xdocs/userdocs/xsp/esql.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- esql.xml 4 Jun 2002 09:09:11 -0000 1.5
+++ esql.xml 8 Jun 2002 17:23:55 -0000 1.6
@@ -244,8 +244,8 @@
<p>One important limitation of the grouping feature is, that <em>no access
to a column may appear after closing a group.</em> The value will belong
to the following row or cause an error if no next row exists. If this is
- needed, consider swapping columns using XSLT. Hence the following example
- is illegal:</p>
+ needed, consider swapping columns using XSLT or embedded JAVA. Hence the
+ following example is illegal:</p>
</s2>
<source><![CDATA[
@@ -305,7 +305,7 @@
most stored procedures will not return a result set but several out
parameters.</p>
- <p>all <code><esql:get-xxx/></code> tags accept new attribute
+ <p>All <code><esql:get-xxx/></code> tags accept a new attribute
<code>from-call="yes"</code> to indicate that the value is retrieved from
the CallableStatement rather than the current ResultSet. Obviously, this
only works after a call to a stored procedure.</p>
@@ -324,9 +324,11 @@
<esql:call-results>
<esql:use-results>
<esql:result><xsp:expr>(ResultSet)<esql:get-object column="1"
from-call="true"/></xsp:expr></esql:result>
- <esql:row-results>
- <esql:get-string column="1"/>
- </esql:row-results>
+ <esql:results>
+ <esql:row-results>
+ <esql:get-string column="1"/>
+ </esql:row-results>
+ </esql:results>
</esql:use-results>
</esql:call-results>
]]></source>
@@ -340,9 +342,11 @@
<esql:get-string column="name"/>:
<esql:use-results>
<esql:result><xsp:expr><esql:get-array
column="list_of_aliases"/>.getResultSet()</xsp:expr></esql:result>
- <esql:row-results>
- <esql:get-string column="1"/>
- </esql:row-results>
+ <esql:results>
+ <esql:row-results>
+ <esql:get-string column="1"/>
+ </esql:row-results>
+ </esql:results>
</esql:use-results>
</p>
</esql:row-results>
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]