XSP provides the front-end portion of an XML framework. Providing dynamic XML pages that are parsed and transformed by the framework allows application interoperability, yet the pages are constructed and stored as static files on a file system.
An XSP page is an XML page with the following requirements:
It must have a cocoon processing instruction that invokes the XSP processor <?cocoon-process type="xsp"?>
The document root element must be <xsp:page>
It must also have any language and Taglib declarations as attributes in the <xsp:page> tag (e.g. <xsp:page language="java" xmlns:xsp="http://www.apache.org/1999/XSP/Core">
In order for the XSP page to be useful, it will also require usually at least an <xsp:logic> element and an <xsp:expr> element.