haul 01/08/06 08:28:48 Modified: xdocs Tag: cocoon_20_branch esql.xml Log: As I haven't been burned... sync with C2.1 Revision Changes Path No revision No revision 1.1.2.6 +10 -1 xml-cocoon2/xdocs/esql.xml Index: esql.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/xdocs/esql.xml,v retrieving revision 1.1.2.5 retrieving revision 1.1.2.6 diff -u -r1.1.2.5 -r1.1.2.6 --- esql.xml 2001/07/28 03:19:22 1.1.2.5 +++ esql.xml 2001/08/06 15:28:48 1.1.2.6 @@ -102,7 +102,7 @@ <th>Description</th> </tr> <tr><td>esql:row-results//esql:get-columns</td> - <td>results in a set of elements whose names are the names of the columns. the elements each have one text child, whose value is the value of the column interpreted as a string. No special formatting is allowed here. If you want to mess around with the names of the elements or the value of the text field, use the type-specific get methods and write out the result fragment yourself.</td> + <td>results in a set of elements whose names are the names of the columns. the elements each have one text child, whose value is the value of the column interpreted as a string. No special formatting is allowed here. If you want to mess around with the names of the elements or the value of the text field, use the type-specific get methods and write out the result fragment yourself. For @doctitle@ only, this outputs structured types as well. Here sql-list or sql-set contains several sql-list-item or sql-set-item element that again contain the actual data.</td> </tr> <tr><td>esql:row-results//esql:get-string</td> <td>returns the value of the given column as a string</td> @@ -137,6 +137,9 @@ <tr><td>esql:row-results//esql:get-ascii</td> <td>returns the value of the given column as a clob</td> </tr> + <tr><td>esql:row-results//esql:get-object</td> + <td>returns the value of the given column as an object</td> + </tr> <tr><td>esql:row-results//esql:get-xml</td> <td>returns the value of the given column interpreted as an xml fragment. The fragment is parsed by the default xsp parser and the document element is returned. @@ -169,6 +172,12 @@ </tr> <tr><td>esql:error-results//esql:get-stacktrace</td> <td>returns the stacktrace of the current exception</td> + </tr> + <tr><td>esql:results/esql:get-metadata</td> + <td>returns the metadata associated with the current resultset</td> + </tr> + <tr><td>esql:results/esql:get-resultset</td> + <td>returns the current resultset</td> </tr> <tr><td>@*|node()</td> <td>used internally to determine which column is the given column. if a column attribute exists and its value is a number, it is taken to be the column's position. if the value is not a number, it is taken to be the column's name. if a column attribute does not exist, an esql:column element is assumed to exist and to render as a string (after all of the xsp instructions have been evaluated), which is taken to be the column's name.</td> ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]