You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2007/08/03 12:10:47 UTC
[Cocoon Wiki] Update of "XSPUtil" by Mfonsen
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.
The following page has been changed by Mfonsen:
http://wiki.apache.org/cocoon/XSPUtil
------------------------------------------------------------------------------
- One of the [:Cocoon] BuiltInLogicsheets.
+ One of the [:Cocoon] BuiltInLogicsheets. More documentation can be found from the logicsheet itself in the Cocoon build directory: cocoon-2.1.10\build\cocoon\blocks\xsp\dest\org\apache\cocoon\components\language\markup\xsp\java\util.xsl.
- The [:XSP] Util logicsheet provides the following inclusion functionality:
+ The [:XSP] Util [:logicsheet] provides the following inclusion functionality:
* Content from another URL.
* Content directly from a file (requires absolute path?)
@@ -15, +15 @@
* A general counter
* A session based counter?
+ Small usage example example (output result String as XML instead of encoded format:
+ {{{
+ <?xml version="1.0"?>
+ <xsp:page language="java"
+ xmlns:xsp="http://apache.org/xsp"
+ xmlns:xsp-request="http://apache.org/xsp/request/2.0"
+ xmlns:util="http://apache.org/xsp/util/2.0">
+ ...
+ <page>
+ <xsp:logic>
+ ...
+ <util:include-expr><util:expr>result</util:expr></util:include-expr>
+ ...
+ </xsp:logic>
+ </page>
+ </xsp:page>
+ }}}
+