blob: ad819f13175b2cc2e80822366fd693a28cf61fc0 [file] [log] [blame]
<?xml version="1.0"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- CVS $Id$ -->
<xsp:page language="java"
xmlns:xsp="http://apache.org/xsp"
xmlns:an-xsp="urn:xsp"
xmlns:an-xsp-request="urn:xsp-request">
<an-xsp:page language="java">
<page>
<title>Dynamic XSP page, served by sub-sitemap</title>
<content>
<para>Hi there! I'm a very complex dynamic page generated by XSP
(eXtensible Server Pages), with source dynamically generated by XSP.
Nobody should use such complex constructs while in good health :)</para>
<para>
My source resides in the file <b>cocoon/sub/docs/dynamic.xsp</b>.</para>
<para>
My source was generated by XSP at <b><xsp:expr>new Date()</xsp:expr></b>.</para>
<para>I know that I was requested as the URI <b>
<an-xsp-request:get-uri as="xml"/></b>,
and executed at <b><an-xsp:expr>new Date()</an-xsp:expr></b>
by <b><an-xsp:expr>Constants.COMPLETE_NAME</an-xsp:expr></b>.
</para>
</content>
</page>
</an-xsp:page>
</xsp:page>