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:

It also provides tags to get:

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>

XSPUtil (last edited 2009-09-20 23:42:28 by localhost)