home *** CD-ROM | disk | FTP | other *** search
/ PC Professionell 2004 December / PCpro_2004_12.ISO / files / webserver / xampp / xampp-cocoon-addon-1.4.9-installer.exe / dynamic.xsp < prev    next >
Encoding:
Extensible Markup Language  |  2004-07-12  |  1.7 KB  |  48 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.   Copyright 1999-2004 The Apache Software Foundation
  4.  
  5.   Licensed under the Apache License, Version 2.0 (the "License");
  6.   you may not use this file except in compliance with the License.
  7.   You may obtain a copy of the License at
  8.  
  9.       http://www.apache.org/licenses/LICENSE-2.0
  10.  
  11.   Unless required by applicable law or agreed to in writing, software
  12.   distributed under the License is distributed on an "AS IS" BASIS,
  13.   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14.   See the License for the specific language governing permissions and
  15.   limitations under the License.
  16. -->
  17.  
  18. <!-- CVS $Id: dynamic.xsp,v 1.3 2004/04/05 12:34:23 antonio Exp $ -->
  19.  
  20. <xsp:page language="java"
  21.           xmlns:xsp="http://apache.org/xsp"
  22.           xmlns:an-xsp="urn:xsp"
  23.           xmlns:an-xsp-request="urn:xsp-request">
  24.  
  25. <an-xsp:page language="java">
  26.  
  27.   <page>
  28.     <title>Dynamic XSP page, served by sub-sitemap</title>
  29.  
  30.     <content>
  31.       <para>Hi there! I'm a very complex dynamic page generated by XSP
  32.         (eXtensible Server Pages), with source dynamically generated by XSP.
  33.         Nobody should use such complex constructs while in good health :)</para>
  34.       <para>
  35.         My source resides in the file <b>cocoon/sub/docs/dynamic.xsp</b>.</para>
  36.       <para>
  37.         My source was generated by XSP at <b><xsp:expr>new Date()</xsp:expr></b>.</para>
  38.       <para>I know that I was requested as the URI <b>
  39.         <an-xsp-request:get-uri as="xml"/></b>,
  40.         and executed at <b><an-xsp:expr>new Date()</an-xsp:expr></b>
  41.         by <b><an-xsp:expr>Constants.COMPLETE_NAME</an-xsp:expr></b>.
  42.       </para>
  43.     </content>
  44.   </page>
  45. </an-xsp:page>
  46.  
  47. </xsp:page>
  48.