cziegeler    01/12/20 01:37:35

  Modified:    .        build.xml
               webapp   sitemap.xmap
               webapp/WEB-INF/db cocoondb.script
               webapp/docs/samples error-giving-page.xml hello-page.xml
                        samples.xml
               webapp/docs/samples/forms add-employee.xsp employee.xml
                        employee.xsp process-department.xsp
                        process-employee.xsp
               webapp/docs/samples/slides view-source.xsp
               webapp/docs/samples/sql sql-page.xml sql-page.xml.sql
               webapp/docs/samples/xsp esql.xsp
               webapp/protected/descriptors auth.xml
  Added:       webapp/WEB-INF/db tutorial.sql
               webapp/tutorial menu.xml sitemap.xmap
               webapp/tutorial/docs confirm-dept.xsp confirm-empl.xsp
                        create-dept.xsp create-empl.xsp department-form.xml
                        edit-dept.xsp edit-empl.xsp employee-form.xml
                        home.xml results-dept.xsp results-empl.xsp
                        search-dept.xsp search-empl.xsp
               webapp/tutorial/docs/dtd changes-v10.dtd characters.ent
                        document-v10.dtd faq-v10.dtd javadoc-v04draft.dtd
                        specification-v10.dtd todo-v10.dtd
               webapp/tutorial/resources/images bar-border-bottom.gif
                        bar-border-left.gif bar-border-right.gif
                        bar-border-top.gif bar-bottom-left.gif
                        bar-bottom-right.gif bar-top-left.gif
                        bar-top-right.gif bottom.gif button-asf-hi.gif
                        button-asf-lo.gif button-w3c-hi.gif
                        button-w3c-lo.gif button-xml-hi.gif
                        button-xml-lo.gif close.gif dot.gif join.gif
                        line.gif logo.gif note.gif right.gif separator.gif
                        void.gif
               webapp/tutorial/resources/styles script.js
               webapp/tutorial/stylesheets apache.xsl
               webapp/tutorial/stylesheets/system error2document.xsl
  Removed:     webapp.tutorial menu.xml sitemap.xmap
               webapp.tutorial/WEB-INF cocoon.xconf logkit.xconf web.xml
               webapp.tutorial/WEB-INF/db cocoondb.backup cocoondb.data
                        cocoondb.properties cocoondb.script tutorial.sql
               webapp.tutorial/docs confirm-dept.xsp confirm-empl.xsp
                        create-dept.xsp create-empl.xsp department-form.xml
                        edit-dept.xsp edit-empl.xsp employee-form.xml
                        home.xml results-dept.xsp results-empl.xsp
                        search-dept.xsp search-empl.xsp
               webapp.tutorial/docs/dtd changes-v10.dtd characters.ent
                        document-v10.dtd faq-v10.dtd javadoc-v04draft.dtd
                        specification-v10.dtd todo-v10.dtd
               webapp.tutorial/resources/images bar-border-bottom.gif
                        bar-border-left.gif bar-border-right.gif
                        bar-border-top.gif bar-bottom-left.gif
                        bar-bottom-right.gif bar-top-left.gif
                        bar-top-right.gif bottom.gif button-asf-hi.gif
                        button-asf-lo.gif button-w3c-hi.gif
                        button-w3c-lo.gif button-xml-hi.gif
                        button-xml-lo.gif close.gif dot.gif join.gif
                        line.gif logo.gif note.gif right.gif separator.gif
                        void.gif
               webapp.tutorial/resources/styles script.js
               webapp.tutorial/stylesheets apache.xsl
               webapp.tutorial/stylesheets/system error2document.xsl
  Log:
  Integrated tutorial webapp into demo webapp to reduce number of webapps as 
discussed last week
  
  Revision  Changes    Path
  1.122     +1 -66     xml-cocoon2/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/build.xml,v
  retrieving revision 1.121
  retrieving revision 1.122
  diff -u -r1.121 -r1.122
  --- build.xml 2001/12/17 14:29:00     1.121
  +++ build.xml 2001/12/20 09:37:31     1.122
  @@ -168,7 +168,6 @@
       <property name="images.dir"   value="./documentation/images"/>
       <property name="webapp.dir"   value="./webapp"/>
       <property name="webapp.site.dir"   value="./webapp.site"/>
  -    <property name="webapp.tutorial.dir" value="./webapp.tutorial"/>
       <property name="resource.dir" value="./resources"/>
       <property name="packages"     value="org.apache.*"/>
       <property name="context.dir" value="./documentation"/>
  @@ -188,7 +187,6 @@
       <property name="build.docs.printer" value="${build.dir}/printer-docs"/>
       <property name="build.war"      value="${build.dir}/webapp"/>
       <property name="build.sitewebapp" value="${build.dir}/sitewebapp"/>
  -    <property name="build.tutorial.war" value="${build.dir}/tutorial"/>
       <property name="build.javadocs" value="${build.dir}/javadocs"/>
       <property name="build.context" value="${build.dir}/documentation"/>
       <property name="build.scratchpad" value="${build.dir}/scratchpad"/>
  @@ -821,32 +819,6 @@
     </target>
   
     <!-- =================================================================== 
-->
  -  <!-- Copies the tutorial webapp directories                              
-->
  -  <!-- =================================================================== 
-->
  -  <target name="copy-tutorialwebapp" depends="prepare">
  -    <mkdir dir="${build.tutorial.war}"/>
  -
  -    <copy todir="${build.tutorial.war}" filtering="on">
  -      <fileset dir="${webapp.tutorial.dir}">
  -        <include name="sitemap.xmap"/>
  -        <include name="*.xml"/>
  -        <include name="WEB-INF/*.xml"/>
  -        <include name="WEB-INF/*.xconf"/>
  -        <include name="docs/**"/>
  -        <include name="stylesheets/**"/>
  -      </fileset>
  -    </copy>
  -
  -    <copy todir="${build.tutorial.war}/resources" filtering="off">
  -      <fileset dir="${webapp.tutorial.dir}/resources"/>
  -    </copy>
  -
  -    <copy todir="${build.tutorial.war}/WEB-INF/db" filtering="off">
  -      <fileset dir="${webapp.tutorial.dir}/WEB-INF/db"/>
  -    </copy>
  -  </target>
  -
  -  <!-- =================================================================== 
-->
     <!-- Prepares the webapp directories                                     
-->
     <!-- =================================================================== 
-->
     <target name="prepare-webapp" depends="copy-webapp">
  @@ -861,13 +833,6 @@
     </target>
   
     <!-- =================================================================== 
-->
  -  <!-- Prepares the tutorialwebapp directories                               
  -->
  -  <!-- =================================================================== 
-->
  -  <target name="prepare-tutorialwebapp" depends="copy-tutorialwebapp">
  -      <!-- Simply do nothing, just invoke all dependencies -->
  -  </target>
  -
  -  <!-- =================================================================== 
-->
     <!-- Prepares the libraries for the war package                          
-->
     <!-- =================================================================== 
-->
     <target name="prepare-xsp" depends="package" if="compile.xsp">
  @@ -932,7 +897,7 @@
     </target>
   
     <!-- =================================================================== 
-->
  -  <!-- Prepares the libraries for the tutorial war package                 
-->
  +  <!-- Prepares the libraries for the site war package                     
-->
     <!-- =================================================================== 
-->
     <target name="prepare-sitewebapp" depends="prepare-docs, package">
       <mkdir dir="${build.sitewebapp}"/>
  @@ -950,29 +915,6 @@
     </target>
   
     <!-- =================================================================== 
-->
  -  <!-- Prepares the libraries for the tutorial war package                 
-->
  -  <!-- =================================================================== 
-->
  -  <target name="prepare-tutorialwebapp-libs" depends="package">
  -    <copy todir="${build.tutorial.war}/WEB-INF/lib">
  -      <fileset dir="${lib.dir}">
  -        <include name="avalon*.jar"/>
  -        <include name="logkit*.jar"/>
  -        <include name="maybeupload*.jar"/>
  -        <include name="xalan*.jar"/>
  -        <include name="xerces*.jar"/>
  -        <include name="jimi*.jar"/>
  -        <include name="jstyle*.jar"/>
  -        <include name="hsqldb*.jar"/>
  -        <include name="jakarta-regexp*.jar"/>
  -        <include name="resolver.jar"/>
  -        <include name="bsf.jar"/>
  -      </fileset>
  -    </copy>
  -    <copy file="${build.dir}/${name}.jar" 
tofile="${build.tutorial.war}/WEB-INF/lib/${name}-${version}.jar"/>
  -    <copy file="${tools.jar}" 
tofile="${build.tutorial.war}/WEB-INF/lib/tools.jar"/>
  -  </target>
  -
  -  <!-- =================================================================== 
-->
     <!-- Creates the war file                                                
-->
     <!-- =================================================================== 
-->
     <target name="webapp" depends="prepare-webapp, prepare-webapp-libs, 
prepare-scratchpad-libs, prepare-xsp" description="* Generates the war package">
  @@ -984,13 +926,6 @@
     <!-- =================================================================== 
-->
     <target name="sitewebapp" depends="prepare-sitewebapp" description="* 
Generates the site war package">
       <jar jarfile="${build.dir}/${name}-site.war" 
basedir="${build.sitewebapp}" includes="**"/>
  -  </target>
  -
  -  <!-- =================================================================== 
-->
  -  <!-- Creates the war file                                                
-->
  -  <!-- =================================================================== 
-->
  -  <target name="tutorialwebapp" depends="prepare-tutorialwebapp, 
prepare-tutorialwebapp-libs" description="* Generates the tutorial war package">
  -    <jar jarfile="${build.dir}/tutorial.war" basedir="${build.tutorial.war}" 
includes="**"/>
     </target>
   
     <!-- =================================================================== 
-->
  
  
  
  1.70      +4 -1      xml-cocoon2/webapp/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- sitemap.xmap      2001/12/20 07:31:06     1.69
  +++ sitemap.xmap      2001/12/20 09:37:31     1.70
  @@ -433,7 +433,7 @@
      </map:match>
     </map:pipeline>
   
  -  <!-- C2 documentation pipeline -->
  +  <!-- Cocoon documentation pipeline -->
     <map:pipeline>
      <map:match pattern="documents/index">
        <map:redirect-to uri="index.html"/>
  @@ -449,6 +449,9 @@
      </map:match>
      <map:match pattern="documents/**">
        <map:mount uri-prefix="documents" src="documentation/" 
check-reload="yes"/>
  +   </map:match>
  +   <map:match pattern="tutorial/**">
  +     <map:mount uri-prefix="tutorial/" src="tutorial/" check-reload="yes"/>
      </map:match>
     </map:pipeline>
   
  
  
  
  1.4       +84 -80    xml-cocoon2/webapp/WEB-INF/db/cocoondb.script
  
  Index: cocoondb.script
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/WEB-INF/db/cocoondb.script,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- cocoondb.script   2001/11/23 10:50:35     1.3
  +++ cocoondb.script   2001/12/20 09:37:32     1.4
  @@ -1,80 +1,84 @@
  -CREATE TABLE DEPARTMENT_TABLE(ID INTEGER,NAME VARCHAR,UNIQUE(ID))
  -CREATE TABLE EMPLOYEE_TABLE(ID INTEGER,DEPARTMENT_ID INTEGER,NAME 
VARCHAR,UNIQUE(ID))
  -CREATE TABLE USER(UID INTEGER IDENTITY PRIMARY KEY,NAME VARCHAR,FIRSTNAME 
VARCHAR,UNAME VARCHAR,UNIQUE(UNAME))
  -CREATE TABLE GROUPS(GID INTEGER IDENTITY PRIMARY KEY,GNAME 
VARCHAR,UNIQUE(GNAME))
  -CREATE TABLE USER_GROUPS(UID INTEGER,GID INTEGER,UNIQUE(UID,GID),FOREIGN 
KEY(UID)REFERENCES USER(UID),FOREIGN KEY(GID)REFERENCES GROUPS(GID))
  -GRANT ALL ON CLASS "org.hsqldb.Library" TO PUBLIC
  -GRANT ALL ON CLASS "java.lang.Math" TO PUBLIC
  -CREATE USER SA PASSWORD "" ADMIN
  -CREATE ALIAS DAYNAME FOR "org.hsqldb.Library.dayname"
  -CREATE ALIAS SPACE FOR "org.hsqldb.Library.space"
  -CREATE ALIAS SUBSTRING FOR "org.hsqldb.Library.substring"
  -CREATE ALIAS SQRT FOR "java.lang.Math.sqrt"
  -CREATE ALIAS ABS FOR "java.lang.Math.abs"
  -CREATE ALIAS POWER FOR "java.lang.Math.pow"
  -CREATE ALIAS CHAR FOR "org.hsqldb.Library.character"
  -CREATE ALIAS CONCAT FOR "org.hsqldb.Library.concat"
  -CREATE ALIAS PI FOR "org.hsqldb.Library.pi"
  -CREATE ALIAS SECOND FOR "org.hsqldb.Library.second"
  -CREATE ALIAS TRUNCATE FOR "org.hsqldb.Library.truncate"
  -CREATE ALIAS MONTH FOR "org.hsqldb.Library.month"
  -CREATE ALIAS LOWER FOR "org.hsqldb.Library.lcase"
  -CREATE ALIAS ATAN2 FOR "java.lang.Math.atan2"
  -CREATE ALIAS REPEAT FOR "org.hsqldb.Library.repeat"
  -CREATE ALIAS DAYOFMONTH FOR "org.hsqldb.Library.dayofmonth"
  -CREATE ALIAS TAN FOR "java.lang.Math.tan"
  -CREATE ALIAS RADIANS FOR "java.lang.Math.toRadians"
  -CREATE ALIAS FLOOR FOR "java.lang.Math.floor"
  -CREATE ALIAS NOW FOR "org.hsqldb.Library.now"
  -CREATE ALIAS ACOS FOR "java.lang.Math.acos"
  -CREATE ALIAS DAYOFWEEK FOR "org.hsqldb.Library.dayofweek"
  -CREATE ALIAS CEILING FOR "java.lang.Math.ceil"
  -CREATE ALIAS DAYOFYEAR FOR "org.hsqldb.Library.dayofyear"
  -CREATE ALIAS LCASE FOR "org.hsqldb.Library.lcase"
  -CREATE ALIAS WEEK FOR "org.hsqldb.Library.week"
  -CREATE ALIAS SOUNDEX FOR "org.hsqldb.Library.soundex"
  -CREATE ALIAS ASIN FOR "java.lang.Math.asin"
  -CREATE ALIAS LOCATE FOR "org.hsqldb.Library.locate"
  -CREATE ALIAS EXP FOR "java.lang.Math.exp"
  -CREATE ALIAS MONTHNAME FOR "org.hsqldb.Library.monthname"
  -CREATE ALIAS YEAR FOR "org.hsqldb.Library.year"
  -CREATE ALIAS LEFT FOR "org.hsqldb.Library.left"
  -CREATE ALIAS ROUNDMAGIC FOR "org.hsqldb.Library.roundMagic"
  -CREATE ALIAS BITOR FOR "org.hsqldb.Library.bitor"
  -CREATE ALIAS LTRIM FOR "org.hsqldb.Library.ltrim"
  -CREATE ALIAS COT FOR "org.hsqldb.Library.cot"
  -CREATE ALIAS COS FOR "java.lang.Math.cos"
  -CREATE ALIAS MOD FOR "org.hsqldb.Library.mod"
  -CREATE ALIAS SIGN FOR "org.hsqldb.Library.sign"
  -CREATE ALIAS DEGREES FOR "java.lang.Math.toDegrees"
  -CREATE ALIAS LOG FOR "java.lang.Math.log"
  -CREATE ALIAS SIN FOR "java.lang.Math.sin"
  -CREATE ALIAS CURTIME FOR "org.hsqldb.Library.curtime"
  -CREATE ALIAS DIFFERENCE FOR "org.hsqldb.Library.difference"
  -CREATE ALIAS INSERT FOR "org.hsqldb.Library.insert"
  -CREATE ALIAS SUBSTR FOR "org.hsqldb.Library.substring"
  -CREATE ALIAS DATABASE FOR "org.hsqldb.Library.database"
  -CREATE ALIAS MINUTE FOR "org.hsqldb.Library.minute"
  -CREATE ALIAS HOUR FOR "org.hsqldb.Library.hour"
  -CREATE ALIAS IDENTITY FOR "org.hsqldb.Library.identity"
  -CREATE ALIAS QUARTER FOR "org.hsqldb.Library.quarter"
  -CREATE ALIAS CURDATE FOR "org.hsqldb.Library.curdate"
  -CREATE ALIAS BITAND FOR "org.hsqldb.Library.bitand"
  -CREATE ALIAS USER FOR "org.hsqldb.Library.user"
  -CREATE ALIAS UCASE FOR "org.hsqldb.Library.ucase"
  -CREATE ALIAS RTRIM FOR "org.hsqldb.Library.rtrim"
  -CREATE ALIAS LOG10 FOR "org.hsqldb.Library.log10"
  -CREATE ALIAS RIGHT FOR "org.hsqldb.Library.right"
  -CREATE ALIAS ATAN FOR "java.lang.Math.atan"
  -CREATE ALIAS UPPER FOR "org.hsqldb.Library.ucase"
  -CREATE ALIAS ASCII FOR "org.hsqldb.Library.ascii"
  -CREATE ALIAS RAND FOR "java.lang.Math.random"
  -CREATE ALIAS LENGTH FOR "org.hsqldb.Library.length"
  -CREATE ALIAS ROUND FOR "org.hsqldb.Library.round"
  -CREATE ALIAS REPLACE FOR "org.hsqldb.Library.replace"
  -INSERT INTO DEPARTMENT_TABLE VALUES(1,'Programmers')
  -INSERT INTO DEPARTMENT_TABLE VALUES(2,'Loungers')
  -INSERT INTO EMPLOYEE_TABLE VALUES(1,1,'Donald Ball')
  -INSERT INTO EMPLOYEE_TABLE VALUES(2,1,'Stefano Mazzocchi')
  -INSERT INTO EMPLOYEE_TABLE VALUES(3,2,'Pierpaolo Fumagalli')
  -INSERT INTO EMPLOYEE_TABLE VALUES(4,2,'Davanum Srinivas')
  +CREATE TABLE DEPARTMENT(ID INTEGER NOT NULL,NAME VARCHAR NOT NULL,UNIQUE(ID))
  +CREATE TABLE EMPLOYEE(ID INTEGER NOT NULL,DEPARTMENT_ID INTEGER NOT 
NULL,NAME VARCHAR NOT NULL,UNIQUE(ID))
  +CREATE TABLE USER(UID INTEGER IDENTITY PRIMARY KEY,NAME VARCHAR,FIRSTNAME 
VARCHAR,UNAME VARCHAR,UNIQUE(UNAME))
  +CREATE TABLE GROUPS(GID INTEGER IDENTITY PRIMARY KEY,GNAME 
VARCHAR,UNIQUE(GNAME))
  +CREATE TABLE USER_GROUPS(UID INTEGER,GID INTEGER,UNIQUE(UID,GID),FOREIGN 
KEY(UID)REFERENCES USER(UID),FOREIGN KEY(GID)REFERENCES GROUPS(GID))
  +GRANT ALL ON CLASS "org.hsqldb.Library" TO PUBLIC
  +GRANT ALL ON CLASS "java.lang.Math" TO PUBLIC
  +CREATE USER SA PASSWORD "" ADMIN
  +CREATE ALIAS DAYNAME FOR "org.hsqldb.Library.dayname"
  +CREATE ALIAS SPACE FOR "org.hsqldb.Library.space"
  +CREATE ALIAS SUBSTRING FOR "org.hsqldb.Library.substring"
  +CREATE ALIAS SQRT FOR "java.lang.Math.sqrt"
  +CREATE ALIAS ABS FOR "java.lang.Math.abs"
  +CREATE ALIAS POWER FOR "java.lang.Math.pow"
  +CREATE ALIAS CHAR FOR "org.hsqldb.Library.character"
  +CREATE ALIAS CONCAT FOR "org.hsqldb.Library.concat"
  +CREATE ALIAS PI FOR "org.hsqldb.Library.pi"
  +CREATE ALIAS SECOND FOR "org.hsqldb.Library.second"
  +CREATE ALIAS TRUNCATE FOR "org.hsqldb.Library.truncate"
  +CREATE ALIAS MONTH FOR "org.hsqldb.Library.month"
  +CREATE ALIAS LOWER FOR "org.hsqldb.Library.lcase"
  +CREATE ALIAS ATAN2 FOR "java.lang.Math.atan2"
  +CREATE ALIAS REPEAT FOR "org.hsqldb.Library.repeat"
  +CREATE ALIAS DAYOFMONTH FOR "org.hsqldb.Library.dayofmonth"
  +CREATE ALIAS TAN FOR "java.lang.Math.tan"
  +CREATE ALIAS RADIANS FOR "java.lang.Math.toRadians"
  +CREATE ALIAS FLOOR FOR "java.lang.Math.floor"
  +CREATE ALIAS NOW FOR "org.hsqldb.Library.now"
  +CREATE ALIAS ACOS FOR "java.lang.Math.acos"
  +CREATE ALIAS DAYOFWEEK FOR "org.hsqldb.Library.dayofweek"
  +CREATE ALIAS CEILING FOR "java.lang.Math.ceil"
  +CREATE ALIAS DAYOFYEAR FOR "org.hsqldb.Library.dayofyear"
  +CREATE ALIAS LCASE FOR "org.hsqldb.Library.lcase"
  +CREATE ALIAS WEEK FOR "org.hsqldb.Library.week"
  +CREATE ALIAS SOUNDEX FOR "org.hsqldb.Library.soundex"
  +CREATE ALIAS ASIN FOR "java.lang.Math.asin"
  +CREATE ALIAS LOCATE FOR "org.hsqldb.Library.locate"
  +CREATE ALIAS EXP FOR "java.lang.Math.exp"
  +CREATE ALIAS MONTHNAME FOR "org.hsqldb.Library.monthname"
  +CREATE ALIAS YEAR FOR "org.hsqldb.Library.year"
  +CREATE ALIAS LEFT FOR "org.hsqldb.Library.left"
  +CREATE ALIAS ROUNDMAGIC FOR "org.hsqldb.Library.roundMagic"
  +CREATE ALIAS BITOR FOR "org.hsqldb.Library.bitor"
  +CREATE ALIAS LTRIM FOR "org.hsqldb.Library.ltrim"
  +CREATE ALIAS COT FOR "org.hsqldb.Library.cot"
  +CREATE ALIAS COS FOR "java.lang.Math.cos"
  +CREATE ALIAS MOD FOR "org.hsqldb.Library.mod"
  +CREATE ALIAS SIGN FOR "org.hsqldb.Library.sign"
  +CREATE ALIAS DEGREES FOR "java.lang.Math.toDegrees"
  +CREATE ALIAS LOG FOR "java.lang.Math.log"
  +CREATE ALIAS SIN FOR "java.lang.Math.sin"
  +CREATE ALIAS CURTIME FOR "org.hsqldb.Library.curtime"
  +CREATE ALIAS DIFFERENCE FOR "org.hsqldb.Library.difference"
  +CREATE ALIAS INSERT FOR "org.hsqldb.Library.insert"
  +CREATE ALIAS SUBSTR FOR "org.hsqldb.Library.substring"
  +CREATE ALIAS DATABASE FOR "org.hsqldb.Library.database"
  +CREATE ALIAS MINUTE FOR "org.hsqldb.Library.minute"
  +CREATE ALIAS HOUR FOR "org.hsqldb.Library.hour"
  +CREATE ALIAS IDENTITY FOR "org.hsqldb.Library.identity"
  +CREATE ALIAS QUARTER FOR "org.hsqldb.Library.quarter"
  +CREATE ALIAS CURDATE FOR "org.hsqldb.Library.curdate"
  +CREATE ALIAS BITAND FOR "org.hsqldb.Library.bitand"
  +CREATE ALIAS USER FOR "org.hsqldb.Library.user"
  +CREATE ALIAS UCASE FOR "org.hsqldb.Library.ucase"
  +CREATE ALIAS RTRIM FOR "org.hsqldb.Library.rtrim"
  +CREATE ALIAS LOG10 FOR "org.hsqldb.Library.log10"
  +CREATE ALIAS RIGHT FOR "org.hsqldb.Library.right"
  +CREATE ALIAS ATAN FOR "java.lang.Math.atan"
  +CREATE ALIAS UPPER FOR "org.hsqldb.Library.ucase"
  +CREATE ALIAS ASCII FOR "org.hsqldb.Library.ascii"
  +CREATE ALIAS RAND FOR "java.lang.Math.random"
  +CREATE ALIAS LENGTH FOR "org.hsqldb.Library.length"
  +CREATE ALIAS ROUND FOR "org.hsqldb.Library.round"
  +CREATE ALIAS REPLACE FOR "org.hsqldb.Library.replace"
  +INSERT INTO DEPARTMENT VALUES(1,'Development')
  +INSERT INTO DEPARTMENT VALUES(2,'Management')
  +INSERT INTO DEPARTMENT VALUES(3,'Testors')
  +INSERT INTO EMPLOYEE VALUES(1,1,'Donald Ball')
  +INSERT INTO EMPLOYEE VALUES(2,1,'Stefano Mazzocchi')
  +INSERT INTO EMPLOYEE VALUES(3,2,'Pierpaolo Fumagalli')
  +INSERT INTO EMPLOYEE VALUES(4,3,'Torsten Curdt')
  +INSERT INTO EMPLOYEE VALUES(5,2,'Davanum Srinivas')
  +/*C3*/CONNECT USER sa PASSWORD ""
  +/*C4*/CONNECT USER sa PASSWORD ""
  
  
  
  1.1                  xml-cocoon2/webapp/WEB-INF/db/tutorial.sql
  
  Index: tutorial.sql
  ===================================================================
  #
  # Tutorial DB
  #
  
  #
  # Table structure for table 'department'
  #
  CREATE TABLE department (
    id number(12) DEFAULT '0' NOT NULL,
    name varchar(64) DEFAULT '' NOT NULL,
    PRIMARY KEY (id)
  );
  
  #
  # Data for table 'department'
  #
  
  INSERT INTO department VALUES (1,'Development');
  INSERT INTO department VALUES (2,'Management');
  INSERT INTO department VALUES (3,'Testors');
  
  #
  # Table structure for table 'employee'
  #
  CREATE TABLE employee (
    id number(12) DEFAULT '0' NOT NULL,
    department_id number(12) DEFAULT '0' NOT NULL,
    name varchar(64) DEFAULT '' NOT NULL,
    PRIMARY KEY (id)
  );
  
  #
  # Foreign Keys
  #
  ALTER TABLE employee ADD (
    CONSTRAINT fkdepartment FOREIGN KEY(DEPARTMENT_ID)
    REFERENCES DEPARTMENT(ID)
    ON DELETE CASCADE
  );
  
  #
  # Data for table 'employee'
  #
  
  INSERT INTO employee VALUES (1,1,'Donald Ball');
  INSERT INTO employee VALUES (2,1,'Stefano Mazzocchi');
  INSERT INTO employee VALUES (3,2,'Pierpaolo Fumagalli');
  INSERT INTO employee VALUES (4,4,'Torsten Curdt');
  
  
  
  1.2       +1 -1      xml-cocoon2/webapp/docs/samples/error-giving-page.xml
  
  Index: error-giving-page.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/error-giving-page.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- error-giving-page.xml     2001/05/09 20:50:14     1.1
  +++ error-giving-page.xml     2001/12/20 09:37:32     1.2
  @@ -10,6 +10,6 @@
   <page>
    <title>Hello</title>
    <content>
  -  </para>This is my first Cocoon2 page!</para>
  +  </para>This is my first Cocoon page!</para>
    </content>
   </page>
  
  
  
  1.2       +1 -1      xml-cocoon2/webapp/docs/samples/hello-page.xml
  
  Index: hello-page.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/hello-page.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- hello-page.xml    2001/05/09 20:50:13     1.1
  +++ hello-page.xml    2001/12/20 09:37:32     1.2
  @@ -10,6 +10,6 @@
   <page>
    <title>Hello</title>
    <content>
  -  <para>This is my first Cocoon2 page!</para>
  +  <para>This is my first Cocoon page!</para>
    </content>
   </page>
  
  
  
  1.20      +9 -6      xml-cocoon2/webapp/docs/samples/samples.xml
  
  Index: samples.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/samples.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- samples.xml       2001/12/11 22:54:43     1.19
  +++ samples.xml       2001/12/20 09:37:32     1.20
  @@ -25,9 +25,12 @@
     </group>
   
     <group name="Documentation">
  -   <sample name="C2 Docs" href="documents/index">
  -    The Cocoon2 documents.
  +   <sample name="Docs" href="documents/index">
  +    The Cocoon documents.
      </sample>
  +   <sample name="Tutorial" href="tutorial/home.html">
  +    A tutorial on Cocoon.
  +   </sample>
      <sample name="List of docs" href="documents/doclist.html">
       Generated list of the document tree - aggregates each book.xml
      </sample>
  @@ -41,7 +44,7 @@
   
     <group name="Editor">
      <sample name="Sitemap Editor" href="sitebuilder/openSubSite/">
  -    Cocoon2/JSP based Sitemap Editor.
  +    Cocoon/JSP based Sitemap Editor.
      </sample>
     </group>
   
  @@ -140,7 +143,7 @@
      <sample name="Python Generator" href="scripts/hello.py">
       An example of the ScriptGenerator producing XML out of a Python program.
       You should make sure that you have the Jython interpreter (jython.jar) 
from
  -    www.jython.org in the WEB-INF/lib directory of your Cocoon 2 webapp 
context.
  +    www.jython.org in the WEB-INF/lib directory of your Cocoon webapp 
context.
      </sample>
      <sample name="Velocity Generator" href="templates/hello-page.vm">
       An example of the VelocityGenerator producing XML out of a Velocity 
Template.
  @@ -153,7 +156,7 @@
      </sample>
      <sample name="Parent Component Manager" href="parentcm">
       An example showing the use of a parent component manager. For this 
sample to work,
  -    Cocoon2 must have been built with the include.webapp.libs flag set to 
true. (Otherwise
  +    Cocoon must have been built with the include.webapp.libs flag set to 
true. (Otherwise
       the sample classes are not found.)
      </sample>
     </group>
  @@ -164,7 +167,7 @@
      </sample>
      <sample name="SOAP Stock Quote Example 1" href="xscript/soap-getquote1">
          This page demonstrates the SOAP logicsheet for
  -       Cocoon2. It accesses a SOAP service that provides stock quotes
  +       Cocoon. It accesses a SOAP service that provides stock quotes
          and displays the result.
      </sample>
      <sample name="SOAP Sample 2" href="xscript/soap-getquote2">
  
  
  
  1.2       +1 -1      xml-cocoon2/webapp/docs/samples/forms/add-employee.xsp
  
  Index: add-employee.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/forms/add-employee.xsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- add-employee.xsp  2001/05/09 20:50:14     1.1
  +++ add-employee.xsp  2001/12/20 09:37:32     1.2
  @@ -16,7 +16,7 @@
          <esql:connection>
            <esql:pool>personnel</esql:pool>
            <esql:execute-query>
  -           <esql:query>select id, name from department_table order by 
name</esql:query>
  +           <esql:query>select id, name from department order by 
name</esql:query>
              <esql:results>
                <esql:row-results>
                  <option>
  
  
  
  1.2       +1 -1      xml-cocoon2/webapp/docs/samples/forms/employee.xml
  
  Index: employee.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/forms/employee.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- employee.xml      2001/05/09 20:50:14     1.1
  +++ employee.xml      2001/12/20 09:37:32     1.2
  @@ -2,7 +2,7 @@
   
   <employee>
     <connection>personnel</connection>
  -  <table name="employee_table">
  +  <table name="employee">
       <keys>
         <key param="employee" dbcol="id" type="int" mode="manual"/>
       </keys>
  
  
  
  1.3       +2 -2      xml-cocoon2/webapp/docs/samples/forms/employee.xsp
  
  Index: employee.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/forms/employee.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- employee.xsp      2001/07/28 16:32:31     1.2
  +++ employee.xsp      2001/12/20 09:37:32     1.3
  @@ -22,7 +22,7 @@
               <esql:connection>
                 <esql:pool>personnel</esql:pool>
                 <esql:execute-query>
  -                <esql:query>select id, department_id, name from 
employee_table order by name</esql:query>
  +                <esql:query>select id, department_id, name from employee 
order by name</esql:query>
                   <esql:results>
                     <esql:row-results>
                         <xsp:logic>
  @@ -58,7 +58,7 @@
               <esql:connection>
                 <esql:pool>personnel</esql:pool>
                 <esql:execute-query>
  -                <esql:query>select id, name from department_table order by 
name</esql:query>
  +                <esql:query>select id, name from department order by 
name</esql:query>
                   <esql:results>
                     <esql:row-results>
                         <xsp:logic>
  
  
  
  1.3       +2 -2      
xml-cocoon2/webapp/docs/samples/forms/process-department.xsp
  
  Index: process-department.xsp
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/webapp/docs/samples/forms/process-department.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- process-department.xsp    2001/05/23 12:32:19     1.2
  +++ process-department.xsp    2001/12/20 09:37:32     1.3
  @@ -22,7 +22,7 @@
           <esql:pool>personnel</esql:pool>
           <esql:execute-query>
             <esql:query>
  -         select max(id) as maxid from department_table
  +         select max(id) as maxid from department
          </esql:query>
             <esql:results>
            <esql:row-results>
  @@ -31,7 +31,7 @@
              </xsp:logic>
                 <esql:execute-query>
                   <esql:query>
  -                  insert into department_table (id, name) values (
  +                  insert into department (id, name) values (
                       
(<esql:parameter><xsp:expr>currId</xsp:expr></esql:parameter> + 1),
                       
<esql:parameter><xsp:expr>name</xsp:expr></esql:parameter>
                     )
  
  
  
  1.3       +2 -2      
xml-cocoon2/webapp/docs/samples/forms/process-employee.xsp
  
  Index: process-employee.xsp
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/webapp/docs/samples/forms/process-employee.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- process-employee.xsp      2001/05/23 12:32:19     1.2
  +++ process-employee.xsp      2001/12/20 09:37:32     1.3
  @@ -24,7 +24,7 @@
           <esql:pool>personnel</esql:pool>
        <esql:autocommit>false</esql:autocommit>
           <esql:execute-query>
  -          <esql:query>select max(id) as maxid from 
employee_table</esql:query>
  +          <esql:query>select max(id) as maxid from employee</esql:query>
             <esql:results>
            <esql:row-results>
              <xsp:logic>
  @@ -32,7 +32,7 @@
              </xsp:logic>
                 <esql:execute-query>
                   <esql:query>
  -                  insert into employee_table (id, name, department_id) 
values (
  +                  insert into employee (id, name, department_id) values (
                       (<esql:parameter><xsp:expr>currId + 
1</xsp:expr></esql:parameter>),
                       
<esql:parameter><xsp:expr>name</xsp:expr></esql:parameter>,
                    
<esql:parameter><xsp:expr>departmentId</xsp:expr></esql:parameter>
  
  
  
  1.3       +1 -1      xml-cocoon2/webapp/docs/samples/slides/view-source.xsp
  
  Index: view-source.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/slides/view-source.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- view-source.xsp   2001/07/07 11:43:39     1.2
  +++ view-source.xsp   2001/12/20 09:37:32     1.3
  @@ -1,6 +1,6 @@
   <?xml version="1.0"?>
   <!-- Written by Ricardo Rocha <[EMAIL PROTECTED]> -->
  -<!-- Fixed for C2 by Davanum Srinivas <[EMAIL PROTECTED]> -->
  +<!-- Fixed for version 2.0 by Davanum Srinivas <[EMAIL PROTECTED]> -->
   
   <!-- A quick'n'dirty XML colorizer -->
   
  
  
  
  1.3       +2 -2      xml-cocoon2/webapp/docs/samples/sql/sql-page.xml
  
  Index: sql-page.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/sql/sql-page.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sql-page.xml      2001/05/23 12:32:19     1.2
  +++ sql-page.xml      2001/12/20 09:37:32     1.3
  @@ -8,11 +8,11 @@
   
     <execute-query xmlns="http://apache.org/cocoon/SQL/2.0";> 
      <query>
  -        select id,name from department_table
  +        select id,name from department
      </query>
      <execute-query>
       <query>
  -     select id,name from employee_table where department_id = 
<ancestor-value sql:name="id" sql:level="1"/>
  +     select id,name from employee where department_id = <ancestor-value 
sql:name="id" sql:level="1"/>
       </query>
      </execute-query>
     </execute-query>
  
  
  
  1.2       +11 -11    xml-cocoon2/webapp/docs/samples/sql/sql-page.xml.sql
  
  Index: sql-page.xml.sql
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/sql/sql-page.xml.sql,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sql-page.xml.sql  2001/05/09 20:50:16     1.1
  +++ sql-page.xml.sql  2001/12/20 09:37:32     1.2
  @@ -5,25 +5,25 @@
   # Server version     3.22.27
   
   #
  -# Table structure for table 'department_table'
  +# Table structure for table 'department'
   #
  -CREATE TABLE department_table (
  +CREATE TABLE department (
     id int(11) DEFAULT '0' NOT NULL,
     name varchar(255) DEFAULT '' NOT NULL,
     PRIMARY KEY (id)
   );
   
   #
  -# Dumping data for table 'department_table'
  +# Dumping data for table 'department'
   #
   
  -INSERT INTO department_table VALUES (1,'Programmers');
  -INSERT INTO department_table VALUES (2,'Loungers');
  +INSERT INTO department VALUES (1,'Programmers');
  +INSERT INTO department VALUES (2,'Loungers');
   
   #
  -# Table structure for table 'employee_table'
  +# Table structure for table 'employee'
   #
  -CREATE TABLE employee_table (
  +CREATE TABLE employee (
     id int(11) DEFAULT '0' NOT NULL,
     department_id int(11) DEFAULT '0' NOT NULL,
     name varchar(255) DEFAULT '' NOT NULL,
  @@ -31,9 +31,9 @@
   );
   
   #
  -# Dumping data for table 'employee_table'
  +# Dumping data for table 'employee'
   #
   
  -INSERT INTO employee_table VALUES (1,1,'Donald Ball');
  -INSERT INTO employee_table VALUES (2,1,'Stefano Mazzocchi');
  -INSERT INTO employee_table VALUES (3,2,'Pierpaolo Fumagalli');
  +INSERT INTO employee VALUES (1,1,'Donald Ball');
  +INSERT INTO employee VALUES (2,1,'Stefano Mazzocchi');
  +INSERT INTO employee VALUES (3,2,'Pierpaolo Fumagalli');
  
  
  
  1.3       +1 -1      xml-cocoon2/webapp/docs/samples/xsp/esql.xsp
  
  Index: esql.xsp
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/docs/samples/xsp/esql.xsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- esql.xsp  2001/06/22 13:56:33     1.2
  +++ esql.xsp  2001/12/20 09:37:32     1.3
  @@ -15,7 +15,7 @@
      <esql:connection>
        <esql:pool>personnel</esql:pool>
        <esql:execute-query>
  -       <esql:query>select * from department_table</esql:query>
  +       <esql:query>select * from department</esql:query>
          <esql:results>
            <esql:row-results>
              <para><esql:get-string column="name"/></para>
  
  
  
  1.2       +1 -1      xml-cocoon2/webapp/protected/descriptors/auth.xml
  
  Index: auth.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/protected/descriptors/auth.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- auth.xml  2001/05/09 20:50:21     1.1
  +++ auth.xml  2001/12/20 09:37:32     1.2
  @@ -8,7 +8,7 @@
   -->
   <auth-descriptor>
     <connection>personnel</connection>
  -  <table name="employee_table">
  +  <table name="employee">
       <!-- 
       because dbcol user has also matching request parameter, it will be used
       for actual authentication, department_id will not be compared with
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/menu.xml
  
  Index: menu.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <!DOCTYPE menu [
  <!ELEMENT menu (item|group)*>
  <!ELEMENT group (item)*>
  <!ATTLIST group link  CDATA #REQUIRED
                  title CDATA #REQUIRED>
  <!ELEMENT item EMPTY>
  <!ATTLIST item link  CDATA #REQUIRED
                 title CDATA #REQUIRED>
  ]>
  
  <menu>
    <group link="home.html" title="search">
      <item link="search-dept.html" title="find department"/>
      <item link="search-empl.html" title="find employee"/>
    </group>
    <item link="create-dept.html" title="new department"/>
    <item link="create-empl.html" title="new employee"/>
  </menu>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/sitemap.xmap
  
  Index: sitemap.xmap
  ===================================================================
  <?xml version="1.0"?>
  
  <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0";>
  
  <!-- =========================== Components ================================ 
-->
  
   <map:components>
  
    <map:generators default="file">
    </map:generators>
  
    <map:transformers default="xslt">
    </map:transformers>
  
    <map:readers default="resource">
    </map:readers>
  
    <map:serializers default="html">
    </map:serializers>
  
    <map:selectors default="browser">
    </map:selectors>
  
    <map:matchers default="wildcard">
    </map:matchers>
  
    <map:actions>
     <map:action name="dbAdd" src="org.apache.cocoon.acting.DatabaseAddAction"/>
     <map:action name="dbDel" 
src="org.apache.cocoon.acting.DatabaseDeleteAction"/>
     <map:action name="dbUpd" 
src="org.apache.cocoon.acting.DatabaseUpdateAction"/>
     <map:action name="form" 
src="org.apache.cocoon.acting.FormValidatorAction"/>
    </map:actions>
  
   </map:components>
  
  <!-- ========================== Action sets ================================ 
-->
  
   <map:action-sets>
    <map:action-set name="process">
     <map:act type="form" action="Create Department">
       <map:parameter name="validate-set" value="add"/>
       <map:act type="dbAdd"/>
     </map:act>
     <map:act type="form" action="Update Department">
       <map:parameter name="validate-set" value="update"/>
       <map:act type="dbUpd"/>
     </map:act>
     <map:act type="dbDel" action="Delete Department"/>
     <map:act type="form" action="Create Employee">
       <map:parameter name="validate-set" value="add"/>
       <map:act type="dbAdd"/>
     </map:act>
     <map:act type="form" action="Update Employee">
       <map:parameter name="validate-set" value="update"/>
       <map:act type="dbUpd"/>
     </map:act>
     <map:act type="dbDel" action="Delete Employee"/>
    </map:action-set>
   </map:action-sets>
  
  <!-- =========================== Pipelines ================================= 
-->
  
   <map:pipelines>
    <map:pipeline>
  
    <map:match pattern="">
      <map:redirect-to uri="home.html"/>
    </map:match>
  
  <map:match pattern="*-dept.html">
    <map:act set="process">
      <map:parameter name="descriptor" 
value="context://tutorial/docs/department-form.xml"/>
      <map:generate type="serverpages" src="docs/confirm-dept.xsp"/>
      <map:transform src="stylesheets/apache.xsl"/>
      <map:serialize/>
    </map:act>
    <map:generate type="serverpages" src="docs/{1}-dept.xsp"/>
    <map:transform src="stylesheets/apache.xsl"/>
    <map:serialize/>
  </map:match>
  
  <map:match pattern="*-dept.xml">
    <map:act set="process">
      <map:parameter name="descriptor" 
value="context://tutorial/docs/department-form.xml"/>
      <map:generate type="serverpages" src="docs/confirm-dept.xsp"/>
      <map:serialize type="xml"/>
    </map:act>
    <map:generate type="serverpages" src="docs/{1}-dept.xsp"/>
    <map:serialize type="xml"/>
  </map:match>
  
  <map:match pattern="*-empl.html">
    <map:act set="process">
      <map:parameter name="descriptor" 
value="context://tutorial/docs/employee-form.xml"/>
      <map:generate type="serverpages" src="docs/confirm-empl.xsp"/>
      <map:transform src="stylesheets/apache.xsl"/>
      <map:serialize/>
    </map:act>
    <map:generate type="serverpages" src="docs/{1}-empl.xsp"/>
    <map:transform src="stylesheets/apache.xsl"/>
    <map:serialize/>
  </map:match>
  
  <map:match pattern="*-empl.xml">
    <map:act set="process">
      <map:parameter name="descriptor" 
value="context://tutorial/docs/employee-form.xml"/>
      <map:generate type="serverpages" src="docs/confirm-empl.xsp"/>
      <map:serialize type="xml"/>
    </map:act>
    <map:generate type="serverpages" src="docs/{1}-empl.xsp"/>
    <map:serialize type="xml"/>
  </map:match>
  
    <map:match pattern="**.xml">
      <map:generate src="docs/{1}.xml"/>
      <map:serialize type="xml"/>
    </map:match>
  
    <map:match pattern="**.html">
      <map:generate src="docs/{1}.xml"/>
      <map:transform src="stylesheets/apache.xsl"/>
      <map:serialize/>
    </map:match>
  
     <map:match pattern="images/**.gif">
      <map:read src="resources/images/{1}.gif" mime-type="image/gif"/>
     </map:match>
  
     <map:match pattern="images/**.jpg">
      <map:read src="resources/images/{1}.jpg" mime-type="image/jpg"/>
     </map:match>
  
     <map:match pattern="images/**.png">
      <map:read src="resources/images/{1}.png" mime-type="image/png"/>
     </map:match>
  
     <map:match pattern="resources/**.css">
       <map:read src="resources/styles/{1}.css" mime-type="text/css"/>
     </map:match>
  
     <map:match pattern="resources/**.js">
       <map:read src="resource/styles/{1}.js" 
mime-type="application/x-javascript"/>
     </map:match>
  
     <map:handle-errors>
      <map:transform src="stylesheets/system/error2document.xsl"/>
      <map:transform src="stylesheets/apache.xsl"/>
      <map:serialize status-code="500"/>
     </map:handle-errors>
  
    </map:pipeline>
   </map:pipelines>
  
  </map:sitemap>
  
  <!-- end of file -->
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/confirm-dept.xsp
  
  Index: confirm-dept.xsp
  ===================================================================
  <xsp:page xmlns:xsp="http://apache.org/xsp";>
  <document>
    <header>
      <title>Department</title>
    </header>
    <body>
      <s1 title="Department Processed">
        <p>
          You have successfully processed the department.
        </p>
      </s1>
    </body>
  </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/confirm-empl.xsp
  
  Index: confirm-empl.xsp
  ===================================================================
  <xsp:page xmlns:xsp="http://apache.org/xsp";>
  <document>
    <header>
      <title>Department</title>
    </header>
    <body>
      <s1 title="Employee Processed">
        <p>
          You have successfully processed the employee.
        </p>
      </s1>
    </body>
  </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/create-dept.xsp
  
  Index: create-dept.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";
            xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0";>
  <document>
    <header>
      <title>Department</title>
    </header>
    <body>
      <s1 title="Create a Department">
        <form handler="create-dept.html">
          <p>
            You can create a department by typing in the
            name and pressing the "Create Department" button.
          </p>
          <p>
            Name: <text name="name" size="30" required="true"/><br />
          <xsp-formval:on-toosmall name="name">
            Name must be at least 5 characters.
          </xsp-formval:on-toosmall>
          <xsp-formval:on-toolarge name="name">
            Name must be less than 64 characters.
          </xsp-formval:on-toolarge>
          </p>
          <submit name="Create Department"/>
          <note>
            * These fields are required.
          </note>
        </form>
      </s1>
    </body>
  </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/create-empl.xsp
  
  Index: create-empl.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";
            xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0";
            xmlns:esql="http://apache.org/cocoon/SQL/v2";>
  <document>
    <header>
      <title>Employee</title>
    </header>
    <body>
      <s1 title="Create an Employee">
        <form handler="create-empl.html">
          <p>
            You can create an employee by typing in the
            name and pressing the "submit" button.
          </p>
          <p>
            Name: <text name="name" size="30" required="true"/><br />
          <xsp-formval:on-toosmall name="name">
            Name must be at least 5 characters
          </xsp-formval:on-toosmall>
          <xsp-formval:on-toolarge name="name">
            Name must be less than 64 characters
          </xsp-formval:on-toolarge>
        </p>
          <p>
            Department:
            <select name="department">
              <esql:connection>
  
                <!-- declare the connection pool we are using -->
                <esql:pool>personnel</esql:pool>
  
                <!-- query execution blocks can be repeated -->
                <esql:execute-query>
  
                  <!-- Find all departments and order them -->
                  <esql:query>
                    SELECT id, name
                    FROM department ORDER BY name
                  </esql:query>
  
                 <!-- What to do with the results -->
                  <esql:results>
                    <!--
                         A successful query that returns results
                         executes this block.  You can also embed
                         more "execute-query" blocks inside the
                         row-results.  That way you can have queries
                         that filter information based on the results
                         of other queries.
                    -->
                    <esql:row-results>
                      <option>
                        <xsp:attribute name="value"><esql:get-string 
column="id"/></xsp:attribute>
                        <esql:get-string column="name"/>
                      </option>
                    </esql:row-results>
                    <!--
                         Other result types are "no-results" and
                         "error-results".  A successful query that
                         does not return results (an empty resultset)
                         will use the XML embedded in the "no-results"
                         section.  An unsuccessful query that throws
                         an exception will use the XML embedded in
                         the "error-results" section.
                    -->
                  </esql:results>
                </esql:execute-query>
              </esql:connection>
            </select><br/>
          <xsp-formval:on-null name="department">
            You must select a department
          </xsp-formval:on-null>
        </p>
          <submit name="Create Employee"/>
          <note>
            * These fields are required.
          </note>
        </form>
      </s1>
    </body>
  </document>
  </xsp:page>
  
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/department-form.xml
  
  Index: department-form.xml
  ===================================================================
  <root>
    <parameter name="id" type="long" nullable="no"/>
    <parameter name="name" type="string" min-len="5" max-len="64"/>
  
    <constraint-set name="update">
      <validate name="name"/>
      <validate name="id"/>
    </constraint-set>
  
    <constraint-set name="add">
      <validate name="name"/>
    </constraint-set>
  
    <connection>personnel</connection>
    <table name="department">
      <keys>
        <key param="id" dbcol="id" type="int" mode="manual"/>
      </keys>
      <values>
        <value param="name" dbcol="name" type="string"/>
      </values>
    </table>
  </root>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/edit-dept.xsp
  
  Index: edit-dept.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";
            xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0";
          xmlns:xsp-request="http://apache.org/xsp/request/2.0";
          xmlns:esql="http://apache.org/cocoon/SQL/v2";>
  <document>
    <header>
      <title>Department</title>
    </header>
    <body>
      <s1 title="Create a Department">
        <form handler="edit-dept.html">
          <p>
            You can create a department by typing in the
            name and pressing the "submit" button.
          </p>
          <p>
            <parameter name="id">
              <xsp:attribute name="value"><xsp-request:get-parameter 
name="id"/></xsp:attribute>
            </parameter>
            <esql:connection>
              <esql:pool>personnel</esql:pool>
              <esql:execute-query>
                <esql:query>
                  SELECT name FROM department
                  WHERE id = <esql:parameter><xsp-request:get-parameter 
name="id"/></esql:parameter>
                </esql:query>
                <esql:results>
                  <esql:row-results>
                    Name: <text name="name" size="30" required="true">
                    <xsp:attribute name="value"><esql:get-string 
column="name"/></xsp:attribute>
                    </text><br />
                    <xsp-formval:on-toosmall name="name">
                      Name must be at least 5 characters.
                    </xsp-formval:on-toosmall>
                    <xsp-formval:on-toolarge name="name">
                      Name must be less than 64 characters.
                    </xsp-formval:on-toolarge>
                  </esql:row-results>
                </esql:results>
              </esql:execute-query>
            </esql:connection>
          </p>
          <submit name="Update Department"/><submit name="Delete Department"/>
          <note>
            * These fields are required.
          </note>
        </form>
      </s1>
    </body>
  </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/edit-empl.xsp
  
  Index: edit-empl.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";
            xmlns:xsp-formval="http://apache.org/xsp/form-validator/2.0";
            xmlns:xsp-request="http://apache.org/xsp/request/2.0";
            xmlns:esql="http://apache.org/cocoon/SQL/v2";>
  <document>
    <header>
      <title>Employee</title>
    </header>
    <body>
      <s1 title="Edit an Employee">
        <form handler="edit-empl.html">
          <p>
            You can edit an employee by changing the
            name and department and pressing the "Update Employee" button.
          </p>
          <parameter name="id">
            <xsp:attribute name="value"><xsp-request:get-parameter 
name="id"/></xsp:attribute>
          </parameter>
          <esql:connection>
            <esql:pool>personnel</esql:pool>
            <esql:execute-query>
              <esql:query>
                SELECT employee, department_id FROM employee
                WHERE employee = <esql:parameter><xsp-request:get-parameter 
name="id"/></esql:parameter>
              </esql:query>
              <esql:results>
                <esql:row-results>
                  <p>
                    Name: <text name="name" size="30" required="true">
                    <xsp:attribute name="value"><esql:get-string 
column="name"/></xsp:attribute>
                    </text><br />
                    <xsp:logic>int deptId = <esql:get-int 
column="department_id"/>;</xsp:logic>
                    <xsp-formval:on-toosmall name="name">
                      Name must be at least 5 characters.
                    </xsp-formval:on-toosmall>
                    <xsp-formval:on-toolarge name="name">
                      Name must be less than 64 characters.
                    </xsp-formval:on-toolarge>
                  </p>
                  <p>
                    Department:
                    <select name="department">
                    <!-- query execution blocks can be repeated -->
                    <esql:execute-query>
  
                      <!-- Find all departments and order them -->
                      <esql:query>
                        SELECT id, name
                        FROM department ORDER BY name
                      </esql:query>
  
                      <!-- What to do with the results -->
                      <esql:results>
                        <!--
                           A successful query that returns results
                           executes this block.  You can also embed
                           more "execute-query" blocks inside the
                           row-results.  That way you can have queries
                           that filter information based on the results
                           of other queries.
                        -->
                        <esql:row-results>
                          <xsp:logic>
                            if (<esql:get-int column="id"/> == deptId) {
                                xspAttr.addAttribute("", "selected", 
"selected", "CDATA", "");
                            }
                          </xsp:logic>
                          <option>
                            <xsp:attribute name="value"><esql:get-string 
column="id"/></xsp:attribute>
                            <esql:get-string column="name"/>
                          </option>
                        </esql:row-results>
                      <!--
                        Other result types are "no-results" and
                        "error-results".  A successful query that
                        does not return results (an empty resultset)
                        will use the XML embedded in the "no-results"
                        section.  An unsuccessful query that throws
                        an exception will use the XML embedded in
                        the "error-results" section.
                      -->
                      </esql:results>
                    </esql:execute-query>
                    </select><br/>
                    <xsp-formval:on-null name="department">
                      You must select a department.
                    </xsp-formval:on-null>
                  </p>
                </esql:row-results>
              </esql:results>
            </esql:execute-query>
          </esql:connection>
          <submit name="Update Employee"/><submit name="Delete Employee"/>
          <note>
            * These fields are required.
          </note>
        </form>
      </s1>
    </body>
  </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/employee-form.xml
  
  Index: employee-form.xml
  ===================================================================
  <root>
    <parameter name="id" type="long" nullable="no"/>
    <parameter name="name" type="string" min-len="5" max-len="64"/>
    <parameter name="department" type="long" nullable="no"/>
  
    <constraint-set name="update">
      <validate name="name"/>
      <validate name="id"/>
      <validate name="department"/>
    </constraint-set>
  
    <constraint-set name="add">
      <validate name="name"/>
      <validate name="department"/>
    </constraint-set>
  
    <connection>personnel</connection>
    <table name="employee">
      <keys>
        <key param="id" dbcol="id" type="int" mode="manual"/>
      </keys>
      <values>
        <value param="name" dbcol="employee" type="string"/>
        <value param="department" dbcol="department_id" type="int"/>
      </values>
    </table>
  </root>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/home.xml
  
  Index: home.xml
  ===================================================================
  <document>
    <header>
      <title>Home Page</title>
    </header>
    <body>
      <s1 title="Welcome to Personnel Administrator">
        <p>
          Welcome to our Personnel Administrator.  You
          can perform one of the following functions:
        </p>
        <ul>
          <li><link href="search-dept.html">Search Departments</link></li>
          <li><link href="search-empl.html">Search Employees</link></li>
          <li><link href="create-dept.html">Create Department</link></li>
          <li><link href="create-empl.html">Create Employee</link></li>
        </ul>
      </s1>
    </body>
  </document>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/results-dept.xsp
  
  Index: results-dept.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";
            xmlns:xsp-request="http://apache.org/xsp/request/2.0";
          xmlns:esql="http://apache.org/cocoon/SQL/v2";>
    <document>
      <header>
        <title>Search Results</title>
      </header>
      <body>
        <s1 title="Department Search Results">
          <p>
          You can edit a department by clicking on the "edit"
          button, and you can delete a department by clicking on
          the "delete" button.
        </p>
          <esql:connection>
            <esql:pool>personnel</esql:pool>
            <esql:execute-query>
              <esql:query>
                SELECT id, name FROM department
                WHERE name LIKE <esql:parameter>%<xsp-request:get-parameter 
name="name"/>%</esql:parameter>
                ORDER BY name
              </esql:query>
              <esql:results>
                <esql:row-results>
                  <s2>
                  <xsp:attribute name="title"><esql:get-string 
column="name"/></xsp:attribute>
                  <form handler="edit-dept.html">
                    <xsp:attribute name="name"><esql:get-string 
column="id"/></xsp:attribute>
                    <p>
                      <parameter name="id">
                        <xsp:attribute name="value"><esql:get-string 
column="id"/></xsp:attribute>
                      </parameter>
                      <submit name="Edit Department"/><submit name="Delete 
Department"/>
                    </p>
                  </form>
                  </s2>
                </esql:row-results>
              </esql:results>
                <esql:no-results>
                  <p>
                    We could find any departments that matched your search
                    criteria of "<xsp-request:get-parameter name="name"/>".
                    <link href="search-dept.html">Go back and try again?</link>
                  </p>
                </esql:no-results>
            </esql:execute-query>
          </esql:connection>
        </s1>
      </body>
    </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/results-empl.xsp
  
  Index: results-empl.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";
            xmlns:xsp-request="http://apache.org/xsp/request/2.0";
          xmlns:esql="http://apache.org/cocoon/SQL/v2";>
    <document>
      <header>
        <title>Search Results</title>
      </header>
      <body>
        <s1 title="Employee Search Results">
          <p>
          You can edit an employee by clicking on the "edit"
          button, and you can delete an employee by clicking on
          the "delete" button.
        </p>
          <esql:connection>
            <esql:pool>personnel</esql:pool>
            <esql:execute-query>
              <esql:query>
                SELECT id, name FROM employee
                WHERE name LIKE <esql:parameter>%<xsp-request:get-parameter 
name="name"/>%</esql:parameter>
                ORDER BY name
              </esql:query>
              <esql:results>
                <esql:row-results>
                  <s2>
                    <xsp:attribute name="title"><esql:get-string 
column="name"/></xsp:attribute>
                    <form handler="edit-empl.html">
                      <xsp:attribute name="name"><esql:get-string 
column="id"/></xsp:attribute>
                      <p>
                        <parameter name="id">
                          <xsp:attribute name="value"><esql:get-string 
column="id"/></xsp:attribute>
                        </parameter>
                        <submit name="Edit Employee"/><submit name="Delete 
Employee"/>
                      </p>
                    </form>
                  </s2>
                </esql:row-results>
              </esql:results>
                <esql:no-results>
                  <p>
                    We could find any employees that matched your search
                    criteria of "<xsp-request:get-parameter name="name"/>".
                    <link href="search-empl.html">Go back and try again?</link>
                  </p>
                </esql:no-results>
            </esql:execute-query>
          </esql:connection>
        </s1>
      </body>
    </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/search-dept.xsp
  
  Index: search-dept.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";>
    <document>
      <header>
        <title>Find Department</title>
      </header>
      <body>
        <s1 title="Find a Department">
          <form handler="results-dept.html">
          <p>
            You can find a department by typing in a
            name, or part of a name, and pressing the
            "submit" button.  If you don't type in any
            name, all results will appear.
          </p>
          <p>
            Department: <text name="name" size="30"/><br/>
          </p>
          <submit name="Find Department"/>
        </form>
        </s1>
      </body>
    </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/search-empl.xsp
  
  Index: search-empl.xsp
  ===================================================================
  <?xml version="1.0"?>
  
  <xsp:page xmlns:xsp="http://apache.org/xsp";>
    <document>
      <header>
        <title>Find Employee</title>
      </header>
      <body>
        <s1 title="Find an Employee">
          <form handler="results-empl.html">
          <p>
            You can find an employee by typing in a
            name, or part of a name, and pressing the
            "submit" button.  If you don't type in any
            name, all results will appear.
          </p>
          <p>
            Employee: <text name="name" size="30"/><br/>
          </p>
          <submit name="Find Employee"/>
        </form>
        </s1>
      </body>
    </document>
  </xsp:page>
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/dtd/changes-v10.dtd
  
  Index: changes-v10.dtd
  ===================================================================
  <!-- ===================================================================
  
       Apache Changes DTD (Version 1.0)
  
  PURPOSE:
    This DTD was developed to create a simple yet powerful document
    type for software development changes for use with the Apache projects.
    It is an XML-compliant DTD and it's maintained by the Apache XML
    project.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE document PUBLIC
         "-//APACHE//DTD Changes Vx.yz//EN"
         "http://xml.apache.org/DTD/changes-vxyz.dtd";>
  
    where
  
      x := major version
      y := minor version
      z := status identifier (optional)
  
  NOTES:
    It is important, expecially in open developped software projects, to keep
    track of software changes both to give users indications of bugs that might
    have been resolved, as well, and not less important, to provide credits
    for the support given to the project. It is considered vital to provide
    adequate payback using recognition and credits to let users and developers
    feel part of the community, thus increasing development power.
  
  AUTHORS:
    Stefano Mazzocchi <[EMAIL PROTECTED]>
  
  FIXME:
  
  CHANGE HISTORY:
    19991129 Initial version. (SM)
    20000316 Added bugfixing attribute. (SM)
  
  COPYRIGHT:
    Copyright (c) @year@ The Apache Software Foundation.
  
    Permission to copy in any form is granted provided this notice is
    included in all copies. Permission to redistribute is granted
    provided this file is distributed untouched in all its parts and
    included files.
  
  ==================================================================== -->
  
  <!-- =============================================================== -->
  <!-- Extend the Documentation DTD -->
  <!-- =============================================================== -->
  
  <!-- FIXME (SM): this is hardcoding. Find a better way of doing this
       possibly using public identifiers -->
  <!ENTITY % document-dtd SYSTEM "document-v10.dtd">
  %document-dtd;
  
  <!-- =============================================================== -->
  <!-- Common entities -->
  <!-- =============================================================== -->
  
  <!ENTITY % types "add|remove|update|fix">
  
  <!-- =============================================================== -->
  <!-- Document Type Definition -->
  <!-- =============================================================== -->
  
  <!ELEMENT changes (devs, release*)>
  <!ATTLIST changes %common.att;
                    %title.att;>
  
      <!ELEMENT devs (person+)>
      <!ATTLIST devs %common.att;>
  
      <!ELEMENT release (action+)>
      <!ATTLIST release %common.att;
                        version  CDATA  #REQUIRED
                        date     CDATA  #REQUIRED>
  
          <!ELEMENT action (%content.mix;)*>
          <!ATTLIST action %common.att;
                           dev  IDREF  #REQUIRED
                           type (%types;)  #IMPLIED
                           due-to CDATA #IMPLIED
                           due-to-email CDATA #IMPLIED
                           fixes-bug CDATA #IMPLIED>
  
  <!-- =============================================================== -->
  <!-- End of DTD -->
  <!-- =============================================================== -->
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/dtd/characters.ent
  
  Index: characters.ent
  ===================================================================
  <!-- 
       Portions (C) International Organization for Standardization 1986
       Permission to copy in any form is granted for use with
       conforming SGML systems and applications as defined in
       ISO 8879, provided this notice is included in all copies.
  -->
  
  <!-- 
       Character entity set.
  -->
  
  <!-- Latin A -->
  <!ENTITY nbsp     "&#160;">  <!-- U+00A0 ISOnum    - no-break space = 
non-breaking space                                   -->
  <!ENTITY iexcl    "&#161;">  <!-- U+00A1 ISOnum    - inverted exclamation 
mark                                             -->
  <!ENTITY cent     "&#162;">  <!-- U+00A2 ISOnum    - cent sign                
                                             -->
  <!ENTITY pound    "&#163;">  <!-- U+00A3 ISOnum    - pound sign               
                                             -->
  <!ENTITY curren   "&#164;">  <!-- U+00A4 ISOnum    - currency sign            
                                             -->
  <!ENTITY yen      "&#165;">  <!-- U+00A5 ISOnum    - yen sign = yuan sign     
                                             -->
  <!ENTITY brvbar   "&#166;">  <!-- U+00A6 ISOnum    - broken bar = broken 
vertical bar                                      -->
  <!ENTITY sect     "&#167;">  <!-- U+00A7 ISOnum    - section sign             
                                             -->
  <!ENTITY uml      "&#168;">  <!-- U+00A8 ISOdia    - diaeresis = spacing 
diaeresis                                         -->
  <!ENTITY copy     "&#169;">  <!-- U+00A9 ISOnum    - copyright sign           
                                             -->
  <!ENTITY ordf     "&#170;">  <!-- U+00AA ISOnum    - feminine ordinal 
indicator                                            -->
  <!ENTITY laquo    "&#171;">  <!-- U+00AB ISOnum    - left-pointing double 
angle quotation mark = left pointing guillemet   -->
  <!ENTITY not      "&#172;">  <!-- U+00AC ISOnum    - not sign                 
                                             -->
  <!ENTITY shy      "&#173;">  <!-- U+00AD ISOnum    - soft hyphen = 
discretionary hyphen                                    -->
  <!ENTITY reg      "&#174;">  <!-- U+00AE ISOnum    - registered sign = 
registered trade mark sign                          -->
  <!ENTITY macr     "&#175;">  <!-- U+00AF ISOdia    - macron = spacing macron 
= overline = APL overbar                      -->
  <!ENTITY deg      "&#176;">  <!-- U+00B0 ISOnum    - degree sign              
                                             -->
  <!ENTITY plusmn   "&#177;">  <!-- U+00B1 ISOnum    - plus-minus sign = 
plus-or-minus sign                                  -->
  <!ENTITY sup2     "&#178;">  <!-- U+00B2 ISOnum    - superscript two = 
superscript digit two = squared                     -->
  <!ENTITY sup3     "&#179;">  <!-- U+00B3 ISOnum    - superscript three = 
superscript digit three = cubed                   -->
  <!ENTITY acute    "&#180;">  <!-- U+00B4 ISOdia    - acute accent = spacing 
acute                                          -->
  <!ENTITY micro    "&#181;">  <!-- U+00B5 ISOnum    - micro sign               
                                             -->
  <!ENTITY para     "&#182;">  <!-- U+00B6 ISOnum    - pilcrow sign = paragraph 
sign                                         -->
  <!ENTITY middot   "&#183;">  <!-- U+00B7 ISOnum    - middle dot = Georgian 
comma = Greek middle dot                        -->
  <!ENTITY cedil    "&#184;">  <!-- U+00B8 ISOdia    - cedilla = spacing 
cedilla                                             -->
  <!ENTITY sup1     "&#185;">  <!-- U+00B9 ISOnum    - superscript one = 
superscript digit one                               -->
  <!ENTITY ordm     "&#186;">  <!-- U+00BA ISOnum    - masculine ordinal 
indicator                                           -->
  <!ENTITY raquo    "&#187;">  <!-- U+00BB ISOnum    - right-pointing double 
angle quotation mark = right pointing guillemet -->
  <!ENTITY frac14   "&#188;">  <!-- U+00BC ISOnum    - vulgar fraction one 
quarter = fraction one quarter                    -->
  <!ENTITY frac12   "&#189;">  <!-- U+00BD ISOnum    - vulgar fraction one half 
= fraction one half                          -->
  <!ENTITY frac34   "&#190;">  <!-- U+00BE ISOnum    - vulgar fraction three 
quarters = fraction three quarters              -->
  <!ENTITY iquest   "&#191;">  <!-- U+00BF ISOnum    - inverted question mark = 
turned question mark                         -->
  <!ENTITY Agrave   "&#192;">  <!-- U+00C0 ISOlat1   - latin capital letter A 
with grave = latin capital letter A grave      -->
  <!ENTITY Aacute   "&#193;">  <!-- U+00C1 ISOlat1   - latin capital letter A 
with acute                                     -->
  <!ENTITY Acirc    "&#194;">  <!-- U+00C2 ISOlat1   - latin capital letter A 
with circumflex                                -->
  <!ENTITY Atilde   "&#195;">  <!-- U+00C3 ISOlat1   - latin capital letter A 
with tilde                                     -->
  <!ENTITY Auml     "&#196;">  <!-- U+00C4 ISOlat1   - latin capital letter A 
with diaeresis                                 -->
  <!ENTITY Aring    "&#197;">  <!-- U+00C5 ISOlat1   - latin capital letter A 
with ring above = latin capital letter A ring  -->
  <!ENTITY AElig    "&#198;">  <!-- U+00C6 ISOlat1   - latin capital letter AE 
= latin capital ligature AE                   -->
  <!ENTITY Ccedil   "&#199;">  <!-- U+00C7 ISOlat1   - latin capital letter C 
with cedilla                                   -->
  <!ENTITY Egrave   "&#200;">  <!-- U+00C8 ISOlat1   - latin capital letter E 
with grave                                     -->
  <!ENTITY Eacute   "&#201;">  <!-- U+00C9 ISOlat1   - latin capital letter E 
with acute                                     -->
  <!ENTITY Ecirc    "&#202;">  <!-- U+00CA ISOlat1   - latin capital letter E 
with circumflex                                -->
  <!ENTITY Euml     "&#203;">  <!-- U+00CB ISOlat1   - latin capital letter E 
with diaeresis                                 -->
  <!ENTITY Igrave   "&#204;">  <!-- U+00CC ISOlat1   - latin capital letter I 
with grave                                     -->
  <!ENTITY Iacute   "&#205;">  <!-- U+00CD ISOlat1   - latin capital letter I 
with acute                                     -->
  <!ENTITY Icirc    "&#206;">  <!-- U+00CE ISOlat1   - latin capital letter I 
with circumflex                                -->
  <!ENTITY Iuml     "&#207;">  <!-- U+00CF ISOlat1   - latin capital letter I 
with diaeresis                                 -->
  <!ENTITY ETH      "&#208;">  <!-- U+00D0 ISOlat1   - latin capital letter ETH 
                                             -->
  <!ENTITY Ntilde   "&#209;">  <!-- U+00D1 ISOlat1   - latin capital letter N 
with tilde                                     -->
  <!ENTITY Ograve   "&#210;">  <!-- U+00D2 ISOlat1   - latin capital letter O 
with grave                                     -->
  <!ENTITY Oacute   "&#211;">  <!-- U+00D3 ISOlat1   - latin capital letter O 
with acute                                     -->
  <!ENTITY Ocirc    "&#212;">  <!-- U+00D4 ISOlat1   - latin capital letter O 
with circumflex                                -->
  <!ENTITY Otilde   "&#213;">  <!-- U+00D5 ISOlat1   - latin capital letter O 
with tilde                                     -->
  <!ENTITY Ouml     "&#214;">  <!-- U+00D6 ISOlat1   - latin capital letter O 
with diaeresis                                 -->
  <!ENTITY times    "&#215;">  <!-- U+00D7 ISOnum    - multiplication sign      
                                             -->
  <!ENTITY Oslash   "&#216;">  <!-- U+00D8 ISOlat1   - latin capital letter O 
with stroke = latin capital letter O slash     -->
  <!ENTITY Ugrave   "&#217;">  <!-- U+00D9 ISOlat1   - latin capital letter U 
with grave                                     -->
  <!ENTITY Uacute   "&#218;">  <!-- U+00DA ISOlat1   - latin capital letter U 
with acute                                     -->
  <!ENTITY Ucirc    "&#219;">  <!-- U+00DB ISOlat1   - latin capital letter U 
with circumflex                                -->
  <!ENTITY Uuml     "&#220;">  <!-- U+00DC ISOlat1   - latin capital letter U 
with diaeresis                                 -->
  <!ENTITY Yacute   "&#221;">  <!-- U+00DD ISOlat1   - latin capital letter Y 
with acute                                     -->
  <!ENTITY THORN    "&#222;">  <!-- U+00DE ISOlat1   - latin capital letter 
THORN                                            -->
  <!ENTITY szlig    "&#223;">  <!-- U+00DF ISOlat1   - latin small letter sharp 
s = ess-zed                                  -->
  <!ENTITY agrave   "&#224;">  <!-- U+00E0 ISOlat1   - latin small letter a 
with grave = latin small letter a grave          -->
  <!ENTITY aacute   "&#225;">  <!-- U+00E1 ISOlat1   - latin small letter a 
with acute                                       -->
  <!ENTITY acirc    "&#226;">  <!-- U+00E2 ISOlat1   - latin small letter a 
with circumflex                                  -->
  <!ENTITY atilde   "&#227;">  <!-- U+00E3 ISOlat1   - latin small letter a 
with tilde                                       -->
  <!ENTITY auml     "&#228;">  <!-- U+00E4 ISOlat1   - latin small letter a 
with diaeresis                                   -->
  <!ENTITY aring    "&#229;">  <!-- U+00E5 ISOlat1   - latin small letter a 
with ring above = latin small letter a ring      -->
  <!ENTITY aelig    "&#230;">  <!-- U+00E6 ISOlat1   - latin small letter ae = 
latin small ligature ae                       -->
  <!ENTITY ccedil   "&#231;">  <!-- U+00E7 ISOlat1   - latin small letter c 
with cedilla                                     -->
  <!ENTITY egrave   "&#232;">  <!-- U+00E8 ISOlat1   - latin small letter e 
with grave                                       -->
  <!ENTITY eacute   "&#233;">  <!-- U+00E9 ISOlat1   - latin small letter e 
with acute                                       -->
  <!ENTITY ecirc    "&#234;">  <!-- U+00EA ISOlat1   - latin small letter e 
with circumflex                                  -->
  <!ENTITY euml     "&#235;">  <!-- U+00EB ISOlat1   - latin small letter e 
with diaeresis                                   -->
  <!ENTITY igrave   "&#236;">  <!-- U+00EC ISOlat1   - latin small letter i 
with grave                                       -->
  <!ENTITY iacute   "&#237;">  <!-- U+00ED ISOlat1   - latin small letter i 
with acute                                       -->
  <!ENTITY icirc    "&#238;">  <!-- U+00EE ISOlat1   - latin small letter i 
with circumflex                                  -->
  <!ENTITY iuml     "&#239;">  <!-- U+00EF ISOlat1   - latin small letter i 
with diaeresis                                   -->
  <!ENTITY eth      "&#240;">  <!-- U+00F0 ISOlat1   - latin small letter eth   
                                             -->
  <!ENTITY ntilde   "&#241;">  <!-- U+00F1 ISOlat1   - latin small letter n 
with tilde                                       -->
  <!ENTITY ograve   "&#242;">  <!-- U+00F2 ISOlat1   - latin small letter o 
with grave                                       -->
  <!ENTITY oacute   "&#243;">  <!-- U+00F3 ISOlat1   - latin small letter o 
with acute                                       -->
  <!ENTITY ocirc    "&#244;">  <!-- U+00F4 ISOlat1   - latin small letter o 
with circumflex                                  -->
  <!ENTITY otilde   "&#245;">  <!-- U+00F5 ISOlat1   - latin small letter o 
with tilde                                       -->
  <!ENTITY ouml     "&#246;">  <!-- U+00F6 ISOlat1   - latin small letter o 
with diaeresis                                   -->
  <!ENTITY divide   "&#247;">  <!-- U+00F7 ISOnum    - division sign            
                                             -->
  <!ENTITY oslash   "&#248;">  <!-- U+00F8 ISOlat1   - latin small letter o 
with stroke = latin small letter o slash         -->
  <!ENTITY ugrave   "&#249;">  <!-- U+00F9 ISOlat1   - latin small letter u 
with grave                                       -->
  <!ENTITY uacute   "&#250;">  <!-- U+00FA ISOlat1   - latin small letter u 
with acute                                       -->
  <!ENTITY ucirc    "&#251;">  <!-- U+00FB ISOlat1   - latin small letter u 
with circumflex                                  -->
  <!ENTITY uuml     "&#252;">  <!-- U+00FC ISOlat1   - latin small letter u 
with diaeresis                                   -->
  <!ENTITY yacute   "&#253;">  <!-- U+00FD ISOlat1   - latin small letter y 
with acute                                       -->
  <!ENTITY thorn    "&#254;">  <!-- U+00FE ISOlat1   - latin small letter thorn 
                                             -->
  <!ENTITY yuml     "&#255;">  <!-- U+00FF ISOlat1   - latin small letter y 
with diaeresis                                   -->
  
  <!-- Latin Extended-A -->
  <!ENTITY OElig    "&#338;">  <!-- U+0152 ISOlat2   - latin capital ligature 
OE                                             -->
  <!ENTITY oelig    "&#339;">  <!-- U+0153 ISOlat2   - latin small ligature oe  
                                             -->
  
  <!-- ligature is a misnomer, this is a separate character in some languages 
-->
  <!ENTITY Scaron   "&#352;">  <!-- U+0160 ISOlat2   - latin capital letter S 
with caron                                     -->
  <!ENTITY scaron   "&#353;">  <!-- U+0161 ISOlat2   - latin small letter s 
with caron                                       -->
  <!ENTITY Yuml     "&#376;">  <!-- U+0178 ISOlat2   - latin capital letter Y 
with diaeresis                                 -->
  
  <!-- Spacing Modifier Letters -->
  <!ENTITY circ     "&#710;">  <!-- U+02C6 ISOpub    - modifier letter 
circumflex accent                                     -->
  <!ENTITY tilde    "&#732;">  <!-- U+02DC ISOdia    - small tilde              
                                             -->
  
  <!-- General Punctuation -->
  <!ENTITY ensp     "&#8194;"> <!-- U+2002 ISOpub    - en space                 
                                             -->
  <!ENTITY emsp     "&#8195;"> <!-- U+2003 ISOpub    - em space                 
                                             -->
  <!ENTITY thinsp   "&#8201;"> <!-- U+2009 ISOpub    - thin space               
                                             -->
  <!ENTITY zwnj     "&#8204;"> <!-- U+200C RFC 2070  - zero width non-joiner    
                                             -->
  <!ENTITY zwj      "&#8205;"> <!-- U+200D RFC 2070  - zero width joiner        
                                             -->
  <!ENTITY lrm      "&#8206;"> <!-- U+200E RFC 2070  - left-to-right mark       
                                             -->
  <!ENTITY rlm      "&#8207;"> <!-- U+200F RFC 2070  - right-to-left mark       
                                             -->
  <!ENTITY ndash    "&#8211;"> <!-- U+2013 ISOpub    - en dash                  
                                             -->
  <!ENTITY mdash    "&#8212;"> <!-- U+2014 ISOpub    - em dash                  
                                             -->
  <!ENTITY lsquo    "&#8216;"> <!-- U+2018 ISOnum    - left single quotation 
mark                                            -->
  <!ENTITY rsquo    "&#8217;"> <!-- U+2019 ISOnum    - right single quotation 
mark                                           -->
  <!ENTITY sbquo    "&#8218;"> <!-- U+201A NEW       - single low-9 quotation 
mark                                           -->
  <!ENTITY ldquo    "&#8220;"> <!-- U+201C ISOnum    - left double quotation 
mark                                            -->
  <!ENTITY rdquo    "&#8221;"> <!-- U+201D ISOnum    - right double quotation 
mark,                                          -->
  <!ENTITY bdquo    "&#8222;"> <!-- U+201E NEW       - double low-9 quotation 
mark                                           -->
  <!ENTITY dagger   "&#8224;"> <!-- U+2020 ISOpub    - dagger                   
                                             -->
  <!ENTITY Dagger   "&#8225;"> <!-- U+2021 ISOpub    - double dagger            
                                             -->
  <!ENTITY permil   "&#8240;"> <!-- U+2030 ISOtech   - per mille sign           
                                             -->
  <!ENTITY lsaquo   "&#8249;"> <!-- U+2039 ISO prop. - single left-pointing 
angle quotation mark                             -->
  
  <!-- lsaquo is proposed but not yet ISO standardized -->
  <!ENTITY rsaquo   "&#8250;"> <!-- U+203A ISO prop. -   single right-pointing 
angle quotation mark                          -->
  
  <!-- rsaquo is proposed but not yet ISO standardized -->
  <!ENTITY euro     "&#8364;"> <!-- U+20AC NEW       -   euro sign              
                                             -->
  
  <!-- Latin Extended-B -->
  <!ENTITY fnof     "&#402;">  <!-- U+0192 ISOtech   - latin small f with hook 
= function = florin                           -->
  
  <!-- Greek -->
  <!ENTITY Alpha    "&#913;">  <!-- U+0391           - greek capital letter 
alpha                                            -->
  <!ENTITY Beta     "&#914;">  <!-- U+0392           - greek capital letter 
beta                                             -->
  <!ENTITY Gamma    "&#915;">  <!-- U+0393 ISOgrk3   - greek capital letter 
gamma                                            -->
  <!ENTITY Delta    "&#916;">  <!-- U+0394 ISOgrk3   - greek capital letter 
delta                                            -->
  <!ENTITY Epsilon  "&#917;">  <!-- U+0395           - greek capital letter 
epsilon                                          -->
  <!ENTITY Zeta     "&#918;">  <!-- U+0396           - greek capital letter 
zeta                                             -->
  <!ENTITY Eta      "&#919;">  <!-- U+0397           - greek capital letter eta 
                                             -->
  <!ENTITY Theta    "&#920;">  <!-- U+0398 ISOgrk3   - greek capital letter 
theta                                            -->
  <!ENTITY Iota     "&#921;">  <!-- U+0399           - greek capital letter 
iota                                             -->
  <!ENTITY Kappa    "&#922;">  <!-- U+039A           - greek capital letter 
kappa                                            -->
  <!ENTITY Lambda   "&#923;">  <!-- U+039B ISOgrk3   - greek capital letter 
lambda                                           -->
  <!ENTITY Mu       "&#924;">  <!-- U+039C           - greek capital letter mu  
                                             -->
  <!ENTITY Nu       "&#925;">  <!-- U+039D           - greek capital letter nu  
                                             -->
  <!ENTITY Xi       "&#926;">  <!-- U+039E ISOgrk3   - greek capital letter xi  
                                             -->
  <!ENTITY Omicron  "&#927;">  <!-- U+039F           - greek capital letter 
omicron                                          -->
  <!ENTITY Pi       "&#928;">  <!-- U+03A0 ISOgrk3   - greek capital letter pi  
                                             -->
  <!ENTITY Rho      "&#929;">  <!-- U+03A1           - greek capital letter rho 
                                             -->
  <!ENTITY Sigma    "&#931;">  <!-- U+03A3 ISOgrk3   - greek capital letter 
sigma                                            -->
  <!ENTITY Tau      "&#932;">  <!-- U+03A4           - greek capital letter tau 
                                             -->
  <!ENTITY Upsilon  "&#933;">  <!-- U+03A5 ISOgrk3   - greek capital letter 
upsilon                                          -->
  <!ENTITY Phi      "&#934;">  <!-- U+03A6 ISOgrk3   - greek capital letter phi 
                                             -->
  <!ENTITY Chi      "&#935;">  <!-- U+03A7           - greek capital letter chi 
                                             -->
  <!ENTITY Psi      "&#936;">  <!-- U+03A8 ISOgrk3   - greek capital letter psi 
                                             -->
  <!ENTITY Omega    "&#937;">  <!-- U+03A9 ISOgrk3   - greek capital letter 
omega                                            -->
  <!ENTITY alpha    "&#945;">  <!-- U+03B1 ISOgrk3   - greek small letter alpha 
                                             -->
  <!ENTITY beta     "&#946;">  <!-- U+03B2 ISOgrk3   - greek small letter beta  
                                             -->
  <!ENTITY gamma    "&#947;">  <!-- U+03B3 ISOgrk3   - greek small letter gamma 
                                             -->
  <!ENTITY delta    "&#948;">  <!-- U+03B4 ISOgrk3   - greek small letter delta 
                                             -->
  <!ENTITY epsilon  "&#949;">  <!-- U+03B5 ISOgrk3   - greek small letter 
epsilon                                            -->
  <!ENTITY zeta     "&#950;">  <!-- U+03B6 ISOgrk3   - greek small letter zeta  
                                             -->
  <!ENTITY eta      "&#951;">  <!-- U+03B7 ISOgrk3   - greek small letter eta   
                                             -->
  <!ENTITY theta    "&#952;">  <!-- U+03B8 ISOgrk3   - greek small letter theta 
                                             -->
  <!ENTITY iota     "&#953;">  <!-- U+03B9 ISOgrk3   - greek small letter iota  
                                             -->
  <!ENTITY kappa    "&#954;">  <!-- U+03BA ISOgrk3   - greek small letter kappa 
                                             -->
  <!ENTITY lambda   "&#955;">  <!-- U+03BB ISOgrk3   - greek small letter 
lambda                                             -->
  <!ENTITY mu       "&#956;">  <!-- U+03BC ISOgrk3   - greek small letter mu    
                                             -->
  <!ENTITY nu       "&#957;">  <!-- U+03BD ISOgrk3   - greek small letter nu    
                                             -->
  <!ENTITY xi       "&#958;">  <!-- U+03BE ISOgrk3   - greek small letter xi    
                                             -->
  <!ENTITY omicron  "&#959;">  <!-- U+03BF NEW       - greek small letter 
omicron                                            -->
  <!ENTITY pi       "&#960;">  <!-- U+03C0 ISOgrk3   - greek small letter pi    
                                             -->
  <!ENTITY rho      "&#961;">  <!-- U+03C1 ISOgrk3   - greek small letter rho   
                                             -->
  <!ENTITY sigmaf   "&#962;">  <!-- U+03C2 ISOgrk3   - greek small letter final 
sigma                                        -->
  <!ENTITY sigma    "&#963;">  <!-- U+03C3 ISOgrk3   - greek small letter sigma 
                                             -->
  <!ENTITY tau      "&#964;">  <!-- U+03C4 ISOgrk3   - greek small letter tau   
                                             -->
  <!ENTITY upsilon  "&#965;">  <!-- U+03C5 ISOgrk3   - greek small letter 
upsilon                                            -->
  <!ENTITY phi      "&#966;">  <!-- U+03C6 ISOgrk3   - greek small letter phi   
                                             -->
  <!ENTITY chi      "&#967;">  <!-- U+03C7 ISOgrk3   - greek small letter chi   
                                             -->
  <!ENTITY psi      "&#968;">  <!-- U+03C8 ISOgrk3   - greek small letter psi   
                                             -->
  <!ENTITY omega    "&#969;">  <!-- U+03C9 ISOgrk3   - greek small letter omega 
                                             -->
  <!ENTITY thetasym "&#977;">  <!-- U+03D1 NEW       - greek small letter theta 
symbol                                       -->
  <!ENTITY upsih    "&#978;">  <!-- U+03D2 NEW       - greek upsilon with hook 
symbol                                        -->
  <!ENTITY piv      "&#982;">  <!-- U+03D6 ISOgrk3   - greek pi symbol          
                                             -->
  
  <!-- General Punctuation -->
  <!ENTITY bull     "&#8226;"> <!-- U+2022 ISOpub    - bullet = black small 
circle                                           -->
  <!ENTITY hellip   "&#8230;"> <!-- U+2026 ISOpub    - horizontal ellipsis = 
three dot leader                                -->
  <!ENTITY prime    "&#8242;"> <!-- U+2032 ISOtech   - prime = minutes = feet   
                                             -->
  <!ENTITY Prime    "&#8243;"> <!-- U+2033 ISOtech   - double prime = seconds = 
inches                                       -->
  <!ENTITY oline    "&#8254;"> <!-- U+203E NEW       - overline = spacing 
overscore                                          -->
  <!ENTITY frasl    "&#8260;"> <!-- U+2044 NEW       - fraction slash           
                                             -->
  
  <!-- Letterlike Symbols -->
  <!ENTITY weierp   "&#8472;"> <!-- U+2118 ISOamso   - script capital P = power 
set = Weierstrass p                          -->
  <!ENTITY image    "&#8465;"> <!-- U+2111 ISOamso   - blackletter capital I = 
imaginary part                                -->
  <!ENTITY real     "&#8476;"> <!-- U+211C ISOamso   - blackletter capital R = 
real part symbol                              -->
  <!ENTITY trade    "&#8482;"> <!-- U+2122 ISOnum    - trade mark sign          
                                             -->
  <!ENTITY alefsym  "&#8501;"> <!-- U+2135 NEW       - alef symbol = first 
transfinite cardinal                              -->
  
  <!-- Arrows -->
  <!ENTITY larr     "&#8592;"> <!-- U+2190 ISOnum    - leftwards arrow          
                                             -->
  <!ENTITY uarr     "&#8593;"> <!-- U+2191 ISOnum    - upwards arrow            
                                             -->
  <!ENTITY rarr     "&#8594;"> <!-- U+2192 ISOnum    - rightwards arrow         
                                             -->
  <!ENTITY darr     "&#8595;"> <!-- U+2193 ISOnum    - downwards arrow          
                                             -->
  <!ENTITY harr     "&#8596;"> <!-- U+2194 ISOamsa   - left right arrow         
                                             -->
  <!ENTITY crarr    "&#8629;"> <!-- U+21B5 NEW       - downwards arrow with 
corner leftwards = carriage return               -->
  <!ENTITY lArr     "&#8656;"> <!-- U+21D0 ISOtech   - leftwards double arrow   
                                             -->
  <!ENTITY uArr     "&#8657;"> <!-- U+21D1 ISOamsa   - upwards double arrow     
                                             -->
  <!ENTITY rArr     "&#8658;"> <!-- U+21D2 ISOtech   - rightwards double arrow  
                                             -->
  <!ENTITY dArr     "&#8659;"> <!-- U+21D3 ISOamsa   - downwards double arrow   
                                             -->
  <!ENTITY hArr     "&#8660;"> <!-- U+21D4 ISOamsa   - left right double arrow  
                                             -->
  
  <!-- Mathematical Operators -->
  <!ENTITY forall   "&#8704;"> <!-- U+2200 ISOtech   - for all                  
                                             -->
  <!ENTITY part     "&#8706;"> <!-- U+2202 ISOtech   - partial differential     
                                             -->
  <!ENTITY exist    "&#8707;"> <!-- U+2203 ISOtech   - there exists             
                                             -->
  <!ENTITY empty    "&#8709;"> <!-- U+2205 ISOamso   - empty set = null set = 
diameter                                       -->
  <!ENTITY nabla    "&#8711;"> <!-- U+2207 ISOtech   - nabla = backward 
difference                                           -->
  <!ENTITY isin     "&#8712;"> <!-- U+2208 ISOtech   - element of               
                                             -->
  <!ENTITY notin    "&#8713;"> <!-- U+2209 ISOtech   - not an element of        
                                             -->
  <!ENTITY ni       "&#8715;"> <!-- U+220B ISOtech   - contains as member       
                                             -->
  <!ENTITY prod     "&#8719;"> <!-- U+220F ISOamsb   - n-ary product = product 
sign                                          -->
  <!ENTITY sum      "&#8721;"> <!-- U+2211 ISOamsb   - n-ary sumation           
                                             -->
  <!ENTITY minus    "&#8722;"> <!-- U+2212 ISOtech   - minus sign               
                                             -->
  <!ENTITY lowast   "&#8727;"> <!-- U+2217 ISOtech   - asterisk operator        
                                             -->
  <!ENTITY radic    "&#8730;"> <!-- U+221A ISOtech   - square root = radical 
sign                                            -->
  <!ENTITY prop     "&#8733;"> <!-- U+221D ISOtech   - proportional to          
                                             -->
  <!ENTITY infin    "&#8734;"> <!-- U+221E ISOtech   - infinity                 
                                             -->
  <!ENTITY ang      "&#8736;"> <!-- U+2220 ISOamso   - angle                    
                                             -->
  <!ENTITY and      "&#8743;"> <!-- U+2227 ISOtech   - logical and = wedge      
                                             -->
  <!ENTITY or       "&#8744;"> <!-- U+2228 ISOtech   - logical or = vee         
                                             -->
  <!ENTITY cap      "&#8745;"> <!-- U+2229 ISOtech   - intersection = cap       
                                             -->
  <!ENTITY cup      "&#8746;"> <!-- U+222A ISOtech   - union = cup              
                                             -->
  <!ENTITY int      "&#8747;"> <!-- U+222B ISOtech   - integral                 
                                             -->
  <!ENTITY there4   "&#8756;"> <!-- U+2234 ISOtech   - therefore                
                                             -->
  <!ENTITY sim      "&#8764;"> <!-- U+223C ISOtech   - tilde operator = varies 
with = similar to                             -->
  <!ENTITY cong     "&#8773;"> <!-- U+2245 ISOtech   - approximately equal to   
                                             -->
  <!ENTITY asymp    "&#8776;"> <!-- U+2248 ISOamsr   - almost equal to = 
asymptotic to                                       -->
  <!ENTITY ne       "&#8800;"> <!-- U+2260 ISOtech   - not equal to             
                                             -->
  <!ENTITY equiv    "&#8801;"> <!-- U+2261 ISOtech   - identical to             
                                             -->
  <!ENTITY le       "&#8804;"> <!-- U+2264 ISOtech   - less-than or equal to    
                                             -->
  <!ENTITY ge       "&#8805;"> <!-- U+2265 ISOtech   - greater-than or equal to 
                                             -->
  <!ENTITY sub      "&#8834;"> <!-- U+2282 ISOtech   - subset of                
                                             -->
  <!ENTITY sup      "&#8835;"> <!-- U+2283 ISOtech   - superset of              
                                             -->
  <!ENTITY nsub     "&#8836;"> <!-- U+2284 ISOamsn   - not a subset of          
                                             -->
  <!ENTITY sube     "&#8838;"> <!-- U+2286 ISOtech   - subset of or equal to    
                                             -->
  <!ENTITY supe     "&#8839;"> <!-- U+2287 ISOtech   - superset of or equal to  
                                             -->
  <!ENTITY oplus    "&#8853;"> <!-- U+2295 ISOamsb   - circled plus = direct 
sum                                             -->
  <!ENTITY otimes   "&#8855;"> <!-- U+2297 ISOamsb   - circled times = vector 
product                                        -->
  <!ENTITY perp     "&#8869;"> <!-- U+22A5 ISOtech   - up tack = orthogonal to 
= perpendicular                               -->
  <!ENTITY sdot     "&#8901;"> <!-- U+22C5 ISOamsb   - dot operator             
                                             -->
  
  <!-- Miscellaneous Technical -->
  <!ENTITY lceil    "&#8968;"> <!-- U+2308 ISOamsc   - left ceiling = apl 
upstile                                            -->
  <!ENTITY rceil    "&#8969;"> <!-- U+2309 ISOamsc   - right ceiling            
                                             -->
  <!ENTITY lfloor   "&#8970;"> <!-- U+230A ISOamsc   - left floor = apl 
downstile                                            -->
  <!ENTITY rfloor   "&#8971;"> <!-- U+230B ISOamsc   - right floor              
                                             -->
  <!ENTITY lang     "&#9001;"> <!-- U+2329 ISOtech   - left-pointing angle 
bracket = bra                                     -->
  <!ENTITY rang     "&#9002;"> <!-- U+232A ISOtech   - right-pointing angle 
bracket = ket                                    -->
  
  <!-- Geometric Shapes -->
  <!ENTITY loz      "&#9674;"> <!-- U+25CA ISOpub    - lozenge                  
                                             -->
  
  <!-- Miscellaneous Symbols -->
  <!ENTITY spades   "&#9824;"> <!-- U+2660 ISOpub    - black spade suit         
                                             -->
  <!ENTITY clubs    "&#9827;"> <!-- U+2663 ISOpub    - black club suit = 
shamrock                                            -->
  <!ENTITY hearts   "&#9829;"> <!-- U+2665 ISOpub    - black heart suit = 
valentine                                          -->
  <!ENTITY diams    "&#9830;"> <!-- U+2666 ISOpub    - black diamond suit       
                                             -->
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/dtd/document-v10.dtd
  
  Index: document-v10.dtd
  ===================================================================
  <!-- ===================================================================
  
       Apache Documentation DTD (Version 1.0)
  
  PURPOSE:
    This DTD was developed to create a simple yet powerful document
    type for software documentation for use with the Apache projects.
    It is an XML-compliant DTD and it's maintained by the Apache XML
    project.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE document PUBLIC
         "-//APACHE//DTD Documentation Vx.yz//EN"
         "http://xml.apache.org/DTD/document-vxyz.dtd";>
  
    where
  
      x := major version
      y := minor version
      z := status identifier (optional)
  
  NOTES:
    Many of the design patterns used in this DTD were take from the
    W3C XML Specification DTD edited by Eve Maler <[EMAIL PROTECTED]>.
  
    Where possible, great care has been used to reutilize HTML tag
    names to reduce learning efforts and to allow HTML editors to be
    used for complex authorings like tables and lists.
  
  AUTHORS:
    Stefano Mazzocchi <[EMAIL PROTECTED]>
  
  FIXME:
    - how can we include char entities without hardwiring them?
    - should "form" tags be included?
    - should all style-free HTML 4.0 markup tags be included?
    - how do we handle the idea of "soft" xlinks?
    - should we add "soft" links to images?
  
  CHANGE HISTORY:
    19991121 Initial version. (SM)
    19991123 Replaced "res" with more standard "strong" for emphasis. (SM)
    19991124 Added "fork" element for window forking behavior. (SM)
    19991124 Added "img-inline" element to separate from "img". (SM)
    19991129 Removed "affiliation" from "author". (SM)
    19991129 Made "author" empty and moved "name|email" as attributes (SM)
    19991215 Simplified table section (SM)
    19991215 Changed "img-block" in more friendly "figure" (SM)
    20000125 Added the "icon" image (SM)
    20000126 Allowed "anchor" in all levels (SM)
    20000404 Removed the "role" attribute from common-xxx.att (SM)
    20000606 Allowed nested markup tags (SM)
  
  COPYRIGHT:
    Copyright (c) 1999-2000 The Apache Software Foundation.
  
    Permission to copy in any form is granted provided this notice is
    included in all copies. Permission to redistribute is granted
    provided this file is distributed untouched in all its parts and
    included files.
  
  ==================================================================== -->
  
  
  
  
  <!-- =============================================================== -->
  <!-- Common character entities (included from external file) -->
  <!-- =============================================================== -->
  
  <!-- FIXME (SM): this is hardcoding. Find a better way of doing this
       possibly using public identifiers of ISO latin char sets -->
  <!ENTITY % charEntity SYSTEM "characters.ent">
  %charEntity;
  
  
  
  
  <!-- =============================================================== -->
  <!-- Userful entitieis for increased DTD readability -->
  <!-- =============================================================== -->
  
  <!ENTITY % text "#PCDATA">
  
  
  <!-- =============================================================== -->
  <!-- Entities for general XML compliance -->
  <!-- =============================================================== -->
  
  <!-- Common attributes
          Every element has an ID attribute (sometimes required,
          but usually optional) for links. %common.att;
          is for common attributes where the ID is optional, and
          %common-idreq.att; is for common attributes where the
          ID is required.
  -->
  <!ENTITY % common.att
          'id                     ID              #IMPLIED
           xml:lang               NMTOKEN         #IMPLIED'>
  <!ENTITY % common-idreq.att
          'id                     ID              #REQUIRED
           xml:lang               NMTOKEN         #IMPLIED'>
  
  
  <!-- xml:space attribute ===============================================
          Indicates that the element contains white space
          that the formatter or other application should retain,
          as appropriate to its function.
  ==================================================================== -->
  <!ENTITY % xmlspace.att
          'xml:space (default|preserve) #FIXED "preserve"'>
  
  
  <!-- def attribute =====================================================
          Points to the element where the relevant definition can be
          found, using the IDREF mechanism.  %def.att; is for optional
          def attributes, and %def-req.att; is for required def
          attributes.
  ==================================================================== -->
  <!ENTITY % def.att
          'def                    IDREF           #IMPLIED'>
  <!ENTITY % def-req.att
          'def                    IDREF           #REQUIRED'>
  
  
  
  <!-- ref attribute =====================================================
          Points to the element where more information can be found,
          using the IDREF mechanism.  %ref.att; is for optional
          ref attributes, and %ref-req.att; is for required ref
          attributes.
  ================================================================== -->
  <!ENTITY % ref.att
          'ref                    IDREF           #IMPLIED'>
  <!ENTITY % ref-req.att
          'ref                    IDREF           #REQUIRED'>
  
  
  <!-- =============================================================== -->
  <!-- Entities for XLink compliance -->
  <!-- =============================================================== -->
  
  <!ENTITY % xlink-simple.att
          'type      (simple|extended|locator|arc) #FIXED "simple"
           href      CDATA                         #IMPLIED
           role      CDATA                         #IMPLIED
           title     CDATA                         #IMPLIED '>
  <!--    'xmlns     CDATA                         #FIXED 
"http://www.w3.org/XML/XLink/0.9"; -->
  <!-- FIXME: brain-dead IE5 has broken support for
       namespace validation and since I use it for editing
       I remove this for now -->
  
  <!ENTITY % xlink-user-replace.att
          'show      (new|parsed|replace)   #FIXED "replace"
           actuate   (user|auto)            #FIXED "user" '>
  
  <!ENTITY % xlink-user-new.att
          'show      (new|parsed|replace)   #FIXED "new"
           actuate   (user|auto)            #FIXED "user" '>
  
  <!ENTITY % xlink-auto-parsed.att
          'show      (new|parsed|replace)   #FIXED "parsed"
           actuate   (user|auto)            #FIXED "auto" '>
  
  <!-- FIXME (SM): XLink doesn't yet cover the idea of soft links so
       introducing it here using the same namespace is _somewhat_
       illegal. Should we create it own namespace?
  -->
  <!ENTITY % xlink-soft.att
          'mode      (hard|soft)            #FIXED "soft" '>
  
  
  <!-- =============================================================== -->
  <!-- Entities for general usage -->
  <!-- =============================================================== -->
  
  
  <!-- Key attribute =====================================================
          Optionally provides a sorting or indexing key, for cases when
          the element content is inappropriate for this purpose.
  ==================================================================== -->
  <!ENTITY % key.att
          'key                    CDATA           #IMPLIED'>
  
  
  
  <!-- Title attributes ==================================================
          Indicates that the element requires to have a title.
  ==================================================================== -->
  <!ENTITY % title.att
          'title                  CDATA           #REQUIRED'>
  
  
  
  <!-- Name attributes ==================================================
          Indicates that the element requires to have a name.
  ==================================================================== -->
  <!ENTITY % name.att
          'name                   CDATA           #REQUIRED'>
  
  
  
  <!-- Email attributes ==================================================
          Indicates that the element requires to have an email.
  ==================================================================== -->
  <!ENTITY % email.att
          'email                  CDATA           #REQUIRED'>
  
  
  
  
  
  <!-- =============================================================== -->
  <!-- General definitions -->
  <!-- =============================================================== -->
  
  <!-- A person is a general human entity -->
  <!ELEMENT person EMPTY>
  <!ATTLIST person %common.att;
                   %name.att;
                   %email.att;>
  
  
  
  
  <!-- =============================================================== -->
  <!-- Content definitions -->
  <!-- =============================================================== -->
  
  <!ENTITY % local.content.mix "">
  
  <!ENTITY % markup "strong|em|code|sub|sup">
  
  <!ENTITY % links "link|connect|jump|fork|anchor">
  
  <!ENTITY % special "br|img|icon">
  
  <!ENTITY % link-content.mix "%text;|%markup;|%special;%local.content.mix;">
  
  <!ENTITY % content.mix "%link-content.mix;|%links;">
  
      <!-- ==================================================== -->
      <!-- Phrase Markup -->
      <!-- ==================================================== -->
  
      <!-- Strong (typically bold) -->
      <!ELEMENT strong (%text;|%markup;|%links;)*>
      <!ATTLIST strong %common.att;>
  
      <!-- Emphasis (typically italic) -->
      <!ELEMENT em (%text;|%markup;|%links;)*>
      <!ATTLIST em %common.att;>
  
      <!-- Code (typically monospaced) -->
      <!ELEMENT code (%text;|%markup;|%links;)*>
      <!ATTLIST code %common.att;>
  
      <!-- Superscript (typically smaller and higher) -->
      <!ELEMENT sup (%text;|%markup;|%links;)*>
      <!ATTLIST sup %common.att;>
  
      <!-- Subscript (typically smaller and lower) -->
      <!ELEMENT sub (%text;|%markup;|%links;)*>
      <!ATTLIST sub %common.att;>
  
      <!-- FIXME (SM): should we add these HTML 4.0 markups
           which are style-free?
  
            -dfn
            -samp
            -kbd
            -var
            -cite
            -abbr
            -acronym
  
       -->
  
      <!-- ==================================================== -->
      <!-- Hypertextual Links -->
      <!-- ==================================================== -->
  
      <!-- hard replacing link (equivalent of <a ...>) -->
      <!ELEMENT link (%link-content.mix;)*>
      <!ATTLIST link %common.att;
                     %xlink-simple.att;
                     %xlink-user-replace.att;>
  
      <!-- Hard window replacing link (equivalent of <a ... target="_top">) -->
      <!ELEMENT jump (%link-content.mix;)*>
      <!ATTLIST jump anchor CDATA #IMPLIED
                     %common.att;
                     %xlink-simple.att;
                     %xlink-user-new.att;>
  
      <!-- Hard window forking link (equivalent of <a ... target="_new">) -->
      <!ELEMENT fork (%link-content.mix;)*>
      <!ATTLIST fork %common.att;
                     %xlink-simple.att;
                     %xlink-user-new.att;>
  
      <!-- Anchor point (equivalent of <a name="...">) -->
      <!ELEMENT anchor EMPTY>
      <!ATTLIST anchor %common-idreq.att;>
  
      <!-- Soft link between processed pages (no equivalent in HTML) -->
      <!ELEMENT connect (%link-content.mix;)*>
      <!ATTLIST connect %common.att;
                        %xlink-simple.att;
                        %xlink-user-replace.att;
                        %xlink-soft.att;>
  
      <!-- ==================================================== -->
      <!-- Specials -->
      <!-- ==================================================== -->
  
      <!-- Breakline Object (typically forces line break) -->
      <!ELEMENT br EMPTY>
      <!ATTLIST br %common.att;>
  
      <!-- Image Object (typically an inlined image) -->
      <!-- FIXME (SM): should we have the notion of soft links even here
           for inlined objects? -->
      <!ELEMENT img EMPTY>
      <!ATTLIST img src    CDATA  #REQUIRED
                    alt    CDATA  #REQUIRED
                    height CDATA  #IMPLIED
                    width  CDATA  #IMPLIED
                    usemap CDATA  #IMPLIED
                    ismap  (ismap) #IMPLIED
                    %common.att;>
  
      <!-- Image Icon (typically an inlined image placed as graphical item) -->
      <!-- FIXME (SM): should we have the notion of soft links even here
           for inlined objects? -->
      <!ELEMENT icon EMPTY>
      <!ATTLIST icon src    CDATA  #REQUIRED
                     alt    CDATA  #REQUIRED
                     height CDATA  #IMPLIED
                     width  CDATA  #IMPLIED
                     %common.att;>
  
      <!-- Flash Object (Typically an inlined flash object) -->
      <!ELEMENT flash EMPTY>
      <!ATTLIST flash src     CDATA #REQUIRED
                      width   CDATA #REQUIRED
                      height  CDATA #REQUIRED
                      quality CDATA #IMPLIED
                      bg      CDATA #IMPLIED
                      %common.att;>
  
  
  
  <!-- =============================================================== -->
  <!-- Blocks definitions -->
  <!-- =============================================================== -->
  
  <!ENTITY % local.blocks "">
  
  <!ENTITY % local.lists "">
  
  <!ENTITY % paragraphs "rule|overview|quote|p|source|note|fixme|figure">
  
  <!ENTITY % tables "table">
  
  <!ENTITY % lists "ol|ul|sl|dl %local.lists;">
  
  <!ENTITY % blocks "anchor|%paragraphs;|%tables;|%lists; %local.blocks;">
  
      <!-- ==================================================== -->
      <!-- Paragraphs -->
      <!-- ==================================================== -->
  
      <!-- Text Paragraph (normally vertically space delimited) -->
      <!ELEMENT p (%content.mix;)*>
      <!ATTLIST p %common.att;>
  
      <!-- Text Paragraph (normally centered and emphasized) -->
      <!ELEMENT overview (%content.mix;)*>
      <!ATTLIST overview %common.att;>
  
      <!-- Text Paragraph (normally centered) -->
      <!ELEMENT quote (%content.mix;)*>
      <!ATTLIST quote %common.att;>
  
      <!ELEMENT rule EMPTY>
  
      <!-- Source Paragraph (normally space is preserved) -->
      <!ELEMENT source (%content.mix;)*>
      <!ATTLIST source %common.att;
                       %xmlspace.att;>
  
      <!-- Note Paragraph (normally shown encapsulated) -->
      <!ELEMENT note (%content.mix;)*>
      <!ATTLIST note %common.att;>
  
      <!-- Fixme Paragraph (normally not shown) -->
      <!ELEMENT fixme (%content.mix;)*>
      <!-- the "author" attribute should match the "key" attribute of the
           <author> element -->
      <!ATTLIST fixme author CDATA #REQUIRED
                      %common.att;>
  
      <!-- ==================================================== -->
      <!-- Tables -->
      <!-- ==================================================== -->
  
      <!-- Attributes that indicate the spanning of the table cell -->
      <!ENTITY % cell.span 
          'colspan CDATA "1"
           rowspan CDATA "1"'>
  
      <!-- Table element -->
      <!ELEMENT table (caption?, tr+)>
      <!ATTLIST table %common.att;>
  
          <!-- The table title -->
          <!ELEMENT caption (%content.mix;)*>
          <!ATTLIST caption %common.att;>
  
          <!-- The table row element -->
          <!ELEMENT tr (th|td)+>
          <!ATTLIST tr %common.att;>
  
              <!-- The table row header element -->
              <!ELEMENT th (%content.mix;)*>
              <!ATTLIST th %common.att;
                           %cell.span;>
  
              <!-- The table row description element -->
              <!ELEMENT td (%content.mix;)*>
              <!ATTLIST td %common.att;
                           %cell.span;>
  
      <!-- ==================================================== -->
      <!-- Lists -->
      <!-- ==================================================== -->
  
      <!-- Unordered list (typically bulleted) -->
      <!ELEMENT ul (li|%lists;)+>
      <!--    spacing attribute:
              Use "normal" to get normal vertical spacing for items;
              use "compact" to get less spacing.  The default is dependent
              on the stylesheet. -->
      <!ATTLIST ul
              %common.att;
              spacing         (normal|compact)        #IMPLIED>
  
      <!-- Ordered list (typically numbered) -->
      <!ELEMENT ol (li|%lists;)+>
      <!--    spacing attribute:
              Use "normal" to get normal vertical spacing for items;
              use "compact" to get less spacing.  The default is dependent
              on the stylesheet. -->
      <!ATTLIST ol
              %common.att;
              spacing         (normal|compact)        #IMPLIED>
  
      <!-- Simple list (typically with no mark) -->
      <!ELEMENT sl (li|%lists;)+>
      <!ATTLIST sl %common.att;>
  
          <!-- List item -->
          <!ELEMENT li (%content.mix;|%lists;)*>
          <!ATTLIST li %common.att;>
  
      <!-- Definition list (typically two-column) -->
      <!ELEMENT dl (dt,dd)+>
      <!ATTLIST dl %common.att;>
  
          <!-- Definition term -->
          <!ELEMENT dt (%content.mix;)*>
          <!ATTLIST dt %common.att;>
  
          <!-- Definition description -->
          <!ELEMENT dd (%content.mix;)*>
          <!ATTLIST dd %common.att;>
  
      <!-- ==================================================== -->
      <!-- Special Blocks -->
      <!-- ==================================================== -->
  
      <!-- Image Block (typically a separated and centered image) -->
      <!-- FIXME (SM): should we have the notion of soft links even here
           for inlined objects? -->
      <!ELEMENT figure EMPTY>
      <!ATTLIST figure src    CDATA  #REQUIRED
                       alt    CDATA  #REQUIRED
                       height CDATA  #IMPLIED
                       width  CDATA  #IMPLIED
                       usemap CDATA  #IMPLIED
                       ismap  (ismap) #IMPLIED
                       %common.att;>
  
  
  
  
  
  <!-- =============================================================== -->
  <!-- Document -->
  <!-- =============================================================== -->
  
  <!ELEMENT document (header?, body, footer?)>
  <!ATTLIST document %common.att;
                     redirect CDATA #IMPLIED
                     time     CDATA #IMPLIED>
  
      <!-- ==================================================== -->
      <!-- Header -->
      <!-- ==================================================== -->
  
      <!ENTITY % local.headers "">
  
      <!ELEMENT header (title, subtitle?, version?, type?, authors,
                        notice*, abstract? %local.headers;)>
      <!ATTLIST header %common.att;>
  
      <!ELEMENT title (%text;)>
      <!ATTLIST title image CDATA #IMPLIED
                      %common.att;>
  
      <!ELEMENT subtitle (%text;)>
      <!ATTLIST subtitle %common.att;>
  
      <!ELEMENT version (%text;)>
      <!ATTLIST version %common.att;>
  
      <!ELEMENT type (%text;)>
      <!ATTLIST type %common.att;>
  
      <!ELEMENT authors (person+)>
      <!ATTLIST authors %common.att;>
  
      <!ELEMENT notice (%content.mix;)*>
      <!ATTLIST notice %common.att;>
  
      <!ELEMENT abstract (%content.mix;)*>
      <!ATTLIST abstract %common.att;>
  
      <!-- ==================================================== -->
      <!-- Body -->
      <!-- ==================================================== -->
  
      <!ENTITY % local.sections "">
  
      <!ENTITY % sections "s1|anchor %local.sections;">
  
      <!ELEMENT body (%sections;)+>
      <!ATTLIST body %common.att;>
  
          <!ELEMENT s1 (s2|%blocks;)*>
          <!ATTLIST s1 %title.att; %common.att;>
  
              <!ELEMENT s2 (s3|%blocks;)*>
              <!ATTLIST s2 %title.att; %common.att;>
  
                  <!ELEMENT s3 (s4|%blocks;)*>
                  <!ATTLIST s3 %title.att; %common.att;>
  
                      <!ELEMENT s4 (%blocks;)*>
                      <!ATTLIST s4 %title.att; %common.att;>
  
      <!-- ==================================================== -->
      <!-- Footer -->
      <!-- ==================================================== -->
  
      <!ENTITY % local.footers "">
  
      <!ELEMENT footer (legal %local.footers;)>
  
          <!ELEMENT legal (%content.mix;)*>
          <!ATTLIST legal %common.att;>
  
  <!-- =============================================================== -->
  <!-- End of DTD -->
  <!-- =============================================================== -->
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/dtd/faq-v10.dtd
  
  Index: faq-v10.dtd
  ===================================================================
  <!-- ===================================================================
       
       Apache FAQ DTD (Version 1.0)
  
  PURPOSE:
    This DTD was developed to create a simple yet powerful document 
    type for software FAQ's for use with the Apache projects.  
    It is an XML-compliant DTD and it's maintained by the Apache XML 
    project.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE document PUBLIC
         "-//APACHE//DTD FAQ Vx.yz//EN"
         "http://xml.apache.org/DTD/faq-vxyz.dtd";>
  
    where 
    
      x := major version
      y := minor version
      z := status identifier (optional)
        
  NOTES:  
    FAQs represent a powerful knowledge base and a very good way of solving
    common user problems reducing messages on mail lists and reducing the effort
    required for software installation and usage. Thid DTD want to be a common
    format for FAQ interchange to allow FAQ-O-Matic-type workgroup services to 
    be published in other formats as well as enhancing data interchange.
    
  AUTHORS:
    Stefano Mazzocchi <[EMAIL PROTECTED]>
    
  FIXME:
  
  CHANGE HISTORY:
    19991129 Initial version. (SM)
      
  COPYRIGHT:
    Copyright (c) @year@ The Apache Software Foundation.
    
    Permission to copy in any form is granted provided this notice is 
    included in all copies. Permission to redistribute is granted 
    provided this file is distributed untouched in all its parts and 
    included files.
    
  ==================================================================== -->
  
  <!-- =============================================================== -->
  <!-- Extend the Documentation DTD -->
  <!-- =============================================================== -->
  
  <!-- FIXME (SM): this is hardcoding. Find a better way of doing this
       possibly using public identifiers -->
  <!ENTITY % document-dtd SYSTEM "document-v10.dtd">
  %document-dtd;
  
  
  <!-- =============================================================== -->
  <!-- Document Type Definition -->
  <!-- =============================================================== -->
  
  <!ELEMENT faqs (authors?, faq)+>
  <!ATTLIST faqs %common.att; 
                 %title.att;>
  
      <!ELEMENT faq (question, answer)>
      <!ATTLIST faq %common.att;>
      
          <!ELEMENT question (%content.mix;)*>
          <!ATTLIST question %common.att;>
              
          <!ELEMENT answer (%blocks;)*>
          <!ATTLIST answer author IDREF #IMPLIED>
  
  <!-- =============================================================== -->
  <!-- End of DTD -->
  <!-- =============================================================== -->
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/dtd/javadoc-v04draft.dtd
  
  Index: javadoc-v04draft.dtd
  ===================================================================
  <!-- ===================================================================
       
       Apache JavaDoc DTD (version 0.4-draft)
  
  PURPOSE:
    This DTD is designed to capture the output of JavaDoc as an XML document
    through the use of the JavaDocXML Doclet. The hope is that by having the
    JavaDoc documentation in an XML format, it will be easier for application
    developers working with XML to treat their java source documentation in the
    same way they treat any other XML document within their publication 
framework.
    
    This DTD should reflect the information contained within the RootDoc object 
    passed to the JavaDocXML Doclet by JavaDoc. The RootDoc object and the rest 
    of the javaDoc Doclet API is specified at
    
    http://java.sun.com/products/jdk/1.2/docs/tooldocs/javadoc/doclet/index.html
    
    The only information that appears to be difficult to derive from this DTD
    that is easy to obtain from the RootDoc object is the information about 
    serialization. However, this information should be derivable by manually 
    looking for the correct serialization methods and other related structures.
    
  TYPICAL INVOCATION:
  
    <!DOCTYPE document PUBLIC
         "-//APACHE//DTD JavaDoc Vx.yz//EN"
         "http://xml.apache.org/DTD/javadoc-vxyz.dtd";>
  
    where 
    
      x := major version
      y := minor version
      z := status identifier (optional)
        
  NOTES:  
    The authors would like to thank the Cocoon's mail list subscribers for 
    providing such great support and feedback for this DTD.
    
  AUTHORS:
    Kenneth Murphy <[EMAIL PROTECTED]>
    
  FIXME:
  
  CHANGE HISTORY:
    199909?? Original idea of XML doclet. (KM)
    199910?? Initial version of this DTD. (KM)
    19991129 Cleaned up DTD. (SM)
      
  COPYRIGHT:
    Copyright (c) @year@ The Apache Software Foundation.
    
    Permission to copy in any form is granted provided this notice is 
    included in all copies. Permission to redistribute is granted 
    provided this file is distributed untouched in all its parts and 
    included files.
    
  ==================================================================== -->
  
  <!-- =============================================================== -->
  <!-- Common Attribute Entities -->
  <!-- =============================================================== -->
  
  <!ENTITY % name 'name CDATA #REQUIRED'>
  <!ENTITY % dimension 'dimension CDATA #REQUIRED'>
  
  <!ENTITY % abstract 'abstract (true | false) "false"'>
  <!ENTITY % anonymous 'anonymous (true | false) "false"'>
  <!ENTITY % synthetic 'synthetic (true | false) "false"'>
  <!ENTITY % static 'static (true | false) "false"'>
  <!ENTITY % final 'final (true | false) "false"'>
  <!ENTITY % transient 'transient (true | false) "false"'>
  <!ENTITY % volatile 'volatile (true | false) "false"'>
  <!ENTITY % native 'native (true | false) "false"'>
  <!ENTITY % synchronized 'synchronized (true | false) "false"'>
  
  <!ENTITY % access 'access (private | package | protected | public) "package"'>
  <!ENTITY % class.access 'access (package | public) "package"'>
  
  <!ENTITY % extensibility 'extensibility (abstract | final | default) 
"default"'>
  
  
  <!-- =============================================================== -->
  <!-- Javadoc -->
  <!-- =============================================================== -->
  
  <!ELEMENT javadoc (package*, class*, interface*)>
  
  <!-- =============================================================== -->
  <!-- Package -->
  <!-- =============================================================== -->
  
  <!ELEMENT package (doc?, package*, class*, interface*)>
  <!ATTLIST package %name;>
  
  <!-- =============================================================== -->
  <!-- Class -->
  <!-- =============================================================== -->
  
  <!ELEMENT class (doc?,
                   extends_class?,
                   implements?,
                   field*, 
                   constructor*, 
                   method*,
                   innerclass*)>
  <!ATTLIST class
            %name;
            %extensibility;
            %class.access;>
  
  <!ELEMENT extends_class (classref+)>
            
  <!ELEMENT innerclass (doc?,
                        extends?,
                        implements?,
                        field*, 
                        constructor*, 
                        method*)>
  <!ATTLIST innerclass
            %name;
            %access;
            %abstract;
            %anonymous;
            %final;
            %static;>
            
  <!-- =============================================================== -->
  <!-- Interface -->
  <!-- =============================================================== -->
            
  <!ELEMENT interface (doc?,
                       extends_interface?,
                       field*,
                       method*)>
  <!ATTLIST interface
            %name;
            %access;>
            
  <!ELEMENT extends_interface (interfaceref+)>
  
  <!-- =============================================================== -->
  <!-- Elements -->
  <!-- =============================================================== -->
  
  <!ELEMENT implements (interfaceref+)>
  
  <!ELEMENT throws (classref)+>
  
  <!ELEMENT classref EMPTY>
  <!ATTLIST classref %name;>
            
  <!ELEMENT interfaceref EMPTY>
  <!ATTLIST interfaceref %name;>
            
  <!ELEMENT methodref EMPTY>
  <!ATTLIST methodref %name;>
            
  <!ELEMENT packageref EMPTY>
  <!ATTLIST packageref %name;>
            
  <!ELEMENT primitive EMPTY>
  <!ATTLIST primitive
            type (void | boolean | int | long | byte | short | double | float | 
char) #REQUIRED>
            
  <!ELEMENT field (doc?, (classref | interfaceref | primitive))>
  <!ATTLIST field
            %name;
            %access;
            %dimension;
            %synthetic;
            %static;
            %final;
            %transient;
            %volatile;>
            
  <!ELEMENT constructor (doc?, parameter*, throws*)>
  <!ATTLIST constructor
            %name;
            %access;
            %synthetic;>
            
  <!ELEMENT method (doc?, returns, parameter*, throws*)>
  <!ATTLIST method
            %name;
            %access;
            %extensibility;
            %native;
            %synthetic;
            %static;
            %synchronized;>
            
  <!ELEMENT returns (classref | interfaceref | primitive)>
  <!ATTLIST returns %dimension;>
            
  <!ELEMENT parameter (classref | interfaceref | primitive)>
  <!ATTLIST parameter
            %name;
            %final;
            %dimension;>
            
  <!ELEMENT dimension (#PCDATA)>
  
  <!ELEMENT doc (#PCDATA | 
                 linktag |
                 authortag |
                 versiontag |
                 paramtag |
                 returntag |
                 exceptiontag |
                 throwstag |
                 seetag |
                 sincetag |
                 deprecatedtag |
                 serialtag |
                 serialfieldtag |
                 serialdatatag)*>
                 
  <!ELEMENT linktag (#PCDATA)>
  <!ATTLIST linktag
            src CDATA #REQUIRED>
            
  <!ELEMENT authortag (#PCDATA | linktag)*>
  
  <!ELEMENT versiontag (#PCDATA | linktag)*>
  
  <!ELEMENT paramtag (#PCDATA | linktag)*>
  <!ATTLIST paramtag %name;>
            
  <!ELEMENT returntag (#PCDATA | linktag)*>
  
  <!ELEMENT exceptiontag (#PCDATA | classref | linktag)*>
  
  <!ELEMENT throwstag (#PCDATA | classref | linktag)*>
  
  <!ELEMENT seetag (#PCDATA | linktag)*>
  <!ATTLIST seetag
            src CDATA #REQUIRED>
            
  <!ELEMENT sincetag (#PCDATA | linktag)*>
  
  <!ELEMENT deprecatedtag (#PCDATA | linktag)*>
  
  <!ELEMENT serialtag (#PCDATA | linktag)*>
  
  <!ELEMENT serialfieldtag (#PCDATA | linktag)*>
  <!ATTLIST serialfieldtag
            fieldname CDATA #REQUIRED
            fieldtype CDATA #REQUIRED>
            
  <!ELEMENT serialdatatag (#PCDATA | linktag)*>
  
  <!-- =============================================================== -->
  <!-- End of DTD -->
  <!-- =============================================================== -->
  
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/docs/dtd/specification-v10.dtd
  
  Index: specification-v10.dtd
  ===================================================================
  <!-- ===================================================================
       
       Apache Specification DTD (Version 1.0)
  
  PURPOSE:
    This DTD was developed to create a simple yet powerful document 
    type for software specifications for use with the Apache projects.  
    It is an XML-compliant DTD and it's maintained by the Apache XML 
    project.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE document PUBLIC
         "-//APACHE//DTD Specification Vx.yz//EN"
         "http://xml.apache.org/DTD/specification-vxyz.dtd";>
  
    where 
    
      x := major version
      y := minor version
      z := status identifier (optional)
        
  NOTES:  
  
  AUTHORS:
    Stefano Mazzocchi <[EMAIL PROTECTED]>
    
  FIXME:
  
  CHANGE HISTORY:
    19991129 Initial version. (SM)
      
  COPYRIGHT:
    Copyright (c) @year@ The Apache Software Foundation.
    
    Permission to copy in any form is granted provided this notice is 
    included in all copies. Permission to redistribute is granted 
    provided this file is distributed untouched in all its parts and 
    included files.
    
  ==================================================================== -->
  
  <!-- =============================================================== -->
  <!-- Extend the Documentation DTD -->
  <!-- =============================================================== -->
  
  <!-- extend the local.xxx entities -->
  <!ENTITY % local.lists "|bl">
  
  <!-- FIXME (SM): this is hardcoding. Find a better way of doing this
       possibly using public identifiers -->
  <!ENTITY % document-dtd SYSTEM "document-v10.dtd">
  %document-dtd;
  
  <!-- =============================================================== -->
  <!-- Document Type Definition -->
  <!-- =============================================================== -->
  
  <!ELEMENT specification (header?, body, appendices?, footer?)>
  <!ATTLIST specification %common.att;>
  
      <!ELEMENT appendices (%sections;)+>
      <!ATTLIST appendices %common.att;>
  
  <!-- =============================================================== -->
  <!-- Bibliography List -->
  <!-- =============================================================== -->
  
      <!-- Bibliography list -->
      <!ELEMENT bl (bi)+>
      <!ATTLIST bl %common.att;>
  
          <!-- Book item -->
          <!ELEMENT bi EMPTY>
          <!ATTLIST bi %common.att;
                       %name.att;
                       %title.att;
                       %xlink-simple.att;
                       %xlink-user-new.att;
                       authors CDATA #REQUIRED
                       date    CDATA #IMPLIED>
  
  <!-- =============================================================== -->
  <!-- End of DTD -->
  <!-- =============================================================== -->
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/docs/dtd/todo-v10.dtd
  
  Index: todo-v10.dtd
  ===================================================================
  <!-- ===================================================================
       
       Apache Todos DTD (Version 1.0)
  
  PURPOSE:
    This DTD was developed to create a simple yet powerful document 
    type for software development todo lists for use with the Apache projects.  
    It is an XML-compliant DTD and it's maintained by the Apache XML 
    project.
  
  TYPICAL INVOCATION:
  
    <!DOCTYPE document PUBLIC
         "-//APACHE//DTD Todo Vx.yz//EN"
         "http://xml.apache.org/DTD/todo-vxyz.dtd";>
  
    where 
    
      x := major version
      y := minor version
      z := status identifier (optional)
        
  NOTES:  
    It is important, expecially in open developped software projects, to keep
    track of software changes that need to be done, planned features, 
development
    assignment, etc. in order to allow better work parallelization and create
    an entry point for people that want to help. This DTD wants to provide
    a solid foundation to provide such information and to allow it to be
    published as well as distributed in a common format.
  
  AUTHORS:
    Stefano Mazzocchi <[EMAIL PROTECTED]>
    
  FIXME:
    - do we need anymore working contexts? (SM)
  
  CHANGE HISTORY:
    19991129 Initial version. (SM)
    19991225 Added actions element for better structure (SM)
      
  COPYRIGHT:
    Copyright (c) @year@ The Apache Software Foundation.
    
    Permission to copy in any form is granted provided this notice is 
    included in all copies. Permission to redistribute is granted 
    provided this file is distributed untouched in all its parts and 
    included files.
    
  ==================================================================== -->
  
  <!-- =============================================================== -->
  <!-- Extend the Documentation DTD -->
  <!-- =============================================================== -->
  
  <!-- FIXME (SM): this is hardcoding. Find a better way of doing this
       possibly using public identifiers -->
  <!ENTITY % document-dtd SYSTEM "document-v10.dtd">
  %document-dtd;
  
  <!-- =============================================================== -->
  <!-- Common entities -->
  <!-- =============================================================== -->
  
  <!ENTITY % priorities "showstopper|high|medium|low|wish|dream">
  
  <!ENTITY % contexts "build|docs|code|admin|design">
  
  <!-- =============================================================== -->
  <!-- Document Type Definition -->
  <!-- =============================================================== -->
  
  <!ELEMENT todo (devs, actions*)>
  <!ATTLIST todo %common.att; 
                 %title.att;>
  
      <!ELEMENT devs (person+)>
      <!ATTLIST devs %common.att;>
  
      <!ELEMENT actions (action+)>
      <!ATTLIST actions %common.att;
                       priority     (%priorities;)  #IMPLIED>
  
          <!ELEMENT action (%content.mix;)*>
          <!ATTLIST action %common.att;
                           assigned-to  IDREF           #IMPLIED
                           context      (%contexts;)    #REQUIRED>
      
  <!-- =============================================================== -->
  <!-- End of DTD -->
  <!-- =============================================================== -->
  
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-border-bottom.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-border-left.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-border-right.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-border-top.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-bottom-left.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-bottom-right.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-top-left.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/bar-top-right.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/bottom.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/button-asf-hi.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/button-asf-lo.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/button-w3c-hi.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/button-w3c-lo.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/button-xml-hi.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/button-xml-lo.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/close.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/dot.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/join.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/line.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/logo.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/note.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/right.gif
  
        <<Binary file>>
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/resources/images/separator.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/images/void.gif
  
        <<Binary file>>
  
  
  1.1                  xml-cocoon2/webapp/tutorial/resources/styles/script.js
  
  Index: script.js
  ===================================================================
  rolloverImagesOn=new Array();
  rolloverImagesOff=new Array();
  
  function rolloverOn(name) {
    document.images[name].src=rolloverImagesOn[name].src;
  }
  
  function rolloverOff(name) {
    document.images[name].src=rolloverImagesOff[name].src;
  }
  
  function rolloverLoad(name,on,off) {
    rolloverImagesOn[name]=new Image();
    rolloverImagesOn[name].src=on;
    rolloverImagesOff[name]=new Image();
    rolloverImagesOff[name].src=off;
  }
  
  
  
  1.1                  xml-cocoon2/webapp/tutorial/stylesheets/apache.xsl
  
  Index: apache.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <!-- Author: Berin Loritsch "[EMAIL PROTECTED]" -->
  <!-- Version: 1.0 -->
  
  <xsl:stylesheet version="1.0" 
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
    <xsl:template match="document">
      <html>
        <head>
          <script language="JavaScript" type="text/javascript" 
src="resources/script.js"/>
          <title><xsl:value-of select="document/header/title"/></title>
          <xsl:if test="@redirect">
            <meta http-equiv="Refresh" content="[EMAIL PROTECTED];[EMAIL 
PROTECTED]"/>
          </xsl:if>
        </head>
        <body text="#000000" link="#039acc" vlink="#0086b2" alink="#cc0000"
              topmargin="4" leftmargin="4" marginwidth="4" marginheight="4"
              bgcolor="#ffffff">
          <!-- THE TOP BAR (HEADER) -->
          <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <td width="135" height="60" rowspan="3" valign="top" align="left">
                <img width="135" height="60" src="images/logo.gif" hspace="0" 
vspace="0" border="0"/>
              </td>
              <td width="100%" height="5" valign="top" align="left" colspan="2" 
background="images/line.gif">
                <img width="1" height="5" src="images/line.gif" hspace="0" 
vspace="0" border="0" align="left"/>
              </td>
              <td width="29" height="60"  rowspan="3" valign="top" align="left">
                <img width="29" height="60" src="images/right.gif" hspace="0" 
vspace="0" border="0"/>
              </td>
            </tr>
            <tr>
              <td width="100%" height="35" valign="top" align="left" 
colspan="2" bgcolor="#0086b2"><font size="5" face="arial,helvetica,sanserif" 
color="#ffffff"><div style="text-align: right;"><xsl:value-of 
select="header/title"/></div></font></td>
            </tr>
            <tr>
              <td width="100%" height="20" valign="top" align="left" 
bgcolor="#0086b2" background="images/bottom.gif">
                <img width="3" height="20" src="images/bottom.gif" hspace="0" 
vspace="0" border="0" align="left"/>
              </td>
              <td align="right" bgcolor="#0086b2" height="20" valign="top" 
width="288" background="images/bottom.gif">
                <table border="0" cellpadding="0" cellspacing="0" width="288">
                  <tr>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://xml.apache.org/"; 
onMouseOver="rolloverOn('xml');" onMouseOut="rolloverOff('xml');" target="new">
                        <img alt="http://xml.apache.org/"; width="96" 
height="20" src="images/button-xml-lo.gif"
                             name="xml" hspace="0" vspace="0" border="0"
                             
onLoad="rolloverLoad('xml','images/button-xml-hi.gif','images/button-xml-lo.gif');"/>
                      </a>
                    </td>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://www.apache.org/"; 
onMouseOver="rolloverOn('asf');" onMouseOut="rolloverOff('asf');" target="new">
                        <img alt="http://www.apache.org/"; width="96" 
height="20" src="images/button-asf-lo.gif"
                             name="asf" hspace="0" vspace="0" border="0"
                             
onLoad="rolloverLoad('asf','images/button-asf-hi.gif','images/button-asf-lo.gif');"/>
                      </a>
                    </td>
                    <td width="96" height="20" valign="top" align="left">
                      <a href="http://www.w3.org/"; 
onMouseOver="rolloverOn('w3c');" onMouseOut="rolloverOff('w3c');" target="new">
                        <img alt="http://www.w3.org/"; width="96" height="20" 
src="images/button-w3c-lo.gif"
                             name="w3c" hspace="0" vspace="0" border="0"
                             
onLoad="rolloverLoad('w3c','images/button-w3c-hi.gif','images/button-w3c-lo.gif');"/>
                      </a>
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
          
          <!-- THE MAIN PANEL (SIDEBAR AND CONTENT) -->
          <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tr>
              <!-- THE SIDE BAR -->
              <td width="120" valign="top" align="left">
                <div width="120" style="background-color: #a0a0a0;">
                  <font face="arial,helvetica,sanserif" color="#ffffff" 
size="-1">
                  <img width="120" height="14" src="images/join.gif" hspace="0" 
vspace="0" border="0"/><br/>
                  <xsl:apply-templates select="document('../menu.xml')"/>
                  <img width="120" height="14" src="images/close.gif" 
hspace="0" vspace="0" border="0"/><br/>
                  </font>
                </div>
              </td>
              <!-- THE CONTENT PANEL -->
              <td width="*" valign="top" align="left">
                <table border="0" cellspacing="0" cellpadding="3">
                  <tr><td><br/><xsl:apply-templates/></td></tr>
                </table>
              </td>
            </tr>
          </table>
          
          <br/>
          
          <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr><td bgcolor="#0086b2"><img src="images/dot.gif" width="1" 
height="1"/></td></tr>
            <tr>
              <td align="center"><font face="arial,helvetica,sanserif" 
size="-1" color="#0086b2"><i>
                Copyright &#169; 1999-2001.
                All Rights Reserved.
              </i></font></td>
            </tr>
          </table>
        </body>
      </html>
    </xsl:template>
  
    <xsl:template match="body">
      <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="menu">
      <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="group">
      <a class="menu" href="[EMAIL PROTECTED]"><font size="+1" 
color="#ffff80"><xsl:value-of select="@title"/></font></a><br/>
      <xsl:apply-templates select="item"/>
    </xsl:template>
  
    <xsl:template match="item">
      <a class="menu" href="[EMAIL PROTECTED]"><font 
color="#ffffff"><xsl:value-of select="@title"/></font></a><br/>
    </xsl:template>
  
    <xsl:template match="flash">
      <div align="center">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" 
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"; 
id="[EMAIL PROTECTED]" height="[EMAIL PROTECTED]" width="[EMAIL PROTECTED]">
        <param value="[EMAIL PROTECTED]" name="movie"/>
        <param value="[EMAIL PROTECTED]" name="quality"/>
        <param value="[EMAIL PROTECTED]" name="bgcolor"/>
        <embed src="[EMAIL PROTECTED]" quality="[EMAIL PROTECTED]" 
bgcolor="[EMAIL PROTECTED]" height="[EMAIL PROTECTED]" width="[EMAIL 
PROTECTED]" type="application/x-shockwave-flash" 
pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"/>
      </object>
      </div><p/>
    </xsl:template>
  
    <xsl:template match="header"/>
  
    <xsl:template match="s1">
     <div align="right">
      <table border="0" width="98%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="9" height="7" valign="bottom" align="right"><img 
src="images/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-top.gif"><img src="images/void.gif" 
width="1" height="5" vspace="0" hspace="0" border="0"/></td>
          <td width="9" height="7" valign="bottom" align="left"><img 
src="images/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" background="images/bar-border-left.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
          <td width="100%" bgcolor="#0086b2">
            <font size="+1" face="arial,helvetica,sanserif" color="#ffffff">
              <img src="images/void.gif" width="5" height="5" vspace="0" 
hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
           </td>
          <td width="9" background="images/bar-border-right.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" height="12" valign="top" align="right"><img 
src="images/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-bottom.gif"><img 
src="images/void.gif" height="12" vspace="0" hspace="0" border="0"/></td>
          <td width="9" height="12" valign="top" align="left"><img 
src="images/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
       </table>
       <table border="0" width="98%" cellspacing="0" cellpadding="0">
        <tr>
         <td>
          <font face="arial,helvetica,sanserif" 
color="#000000"><xsl:apply-templates/></font>
         </td>
        </tr>
      </table>
     </div>
     <br/>
    </xsl:template>
  
    <xsl:template match="s2">
     <div align="right">
      <table border="0" width="95%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="9" height="7" valign="bottom" align="right"><img 
src="images/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-top.gif"><img src="images/void.gif" 
width="1" height="5" vspace="0" hspace="0" border="0"/></td>
          <td width="9" height="7" valign="bottom" align="left"><img 
src="images/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" background="images/bar-border-left.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
          <td width="100%" bgcolor="#0086b2">
            <font face="arial,helvetica,sanserif" color="#ffffff">
              <img src="images/void.gif" width="5" height="5" vspace="0" 
hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
           </td>
          <td width="9" background="images/bar-border-right.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" height="12" valign="top" align="right"><img 
src="images/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-bottom.gif"><img 
src="images/void.gif" width="1" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td width="9" height="12" valign="top" align="left"><img 
src="images/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
       </table>
       <table border="0" width="95%" cellspacing="0" cellpadding="0">
        <tr>
         <td>
          <font face="arial,helvetica,sanserif" 
color="#000000"><xsl:apply-templates/></font>
         </td>
        </tr>
      </table>
     </div>
     <br/>
    </xsl:template>
  
    <xsl:template match="s3">
     <div align="right">
      <table border="0" width="90%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="9" height="7" valign="bottom" align="right"><img 
src="images/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-top.gif"><img src="images/void.gif" 
width="1" height="5" vspace="0" hspace="0" border="0"/></td>
          <td width="9" height="7" valign="bottom" align="left"><img 
src="images/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" background="images/bar-border-left.gif"><img 
src="iamges/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
          <td width="100%" bgcolor="#0086b2">
            <font size="-1" face="arial,helvetica,sanserif" color="#ffffff">
              <img src="images/void.gif" width="5" height="5" vspace="0" 
hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
           </td>
          <td width="9" background="images/bar-border-right.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" height="12" valign="top" align="right"><img 
src="images/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-bottom.gif"><img 
src="images/void.gif" width="1" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td width="9" height="12" valign="top" align="left"><img 
src="images/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
       </table>
       <table border="0" width="90%" cellspacing="0" cellpadding="0">
        <tr>
         <td>
          <font face="arial,helvetica,sanserif" 
color="#000000"><xsl:apply-templates/></font>
         </td>
        </tr>
      </table>
     </div>
     <br/>
    </xsl:template>
  
    <xsl:template match="s4">
     <div align="right">
      <table border="0" width="85%" cellspacing="0" cellpadding="0">
        <tr>
          <td width="9" height="7" valign="bottom" align="right"><img 
src="images/bar-top-left.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-top.gif"><img src="images/void.gif" 
width="1" height="5" vspace="0" hspace="0" border="0"/></td>
          <td width="9" height="7" valign="bottom" align="left"><img 
src="images/bar-top-right.gif" width="9" height="7" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" background="images/bar-border-left.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
          <td width="100%" bgcolor="#0086b2">
            <font size="-2" face="arial,helvetica,sanserif" color="#ffffff">
              <img src="images/void.gif" width="5" height="5" vspace="0" 
hspace="0" border="0"/><b><xsl:value-of select="@title"/></b></font>
           </td>
          <td width="9" background="images/bar-border-right.gif"><img 
src="images/void.gif" width="9" height="1" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
        <tr>
          <td width="9" height="12" valign="top" align="right"><img 
src="images/bar-bottom-left.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td background="images/bar-border-bottom.gif"><img 
src="images/void.gif" width="1" height="12" vspace="0" hspace="0" 
border="0"/></td>
          <td width="9" height="12" valign="top" align="left"><img 
src="images/bar-bottom-right.gif" width="9" height="12" vspace="0" hspace="0" 
border="0"/></td>
        </tr>
       </table>
       <table border="0" width="85%" cellspacing="0" cellpadding="0">
        <tr>
         <td>
          <font face="arial,helvetica,sanserif" 
color="#000000"><xsl:apply-templates/></font>
         </td>
        </tr>
      </table>
     </div>
     <br/>
    </xsl:template>
    
    <xsl:template match="form">
      <form name="[EMAIL PROTECTED]" action="[EMAIL PROTECTED]" method="POST">
        <xsl:apply-templates/>
      </form>
    </xsl:template>
  
    <xsl:template match="submit">
      <input type="submit" name="cocoon-action" value="[EMAIL PROTECTED]"/>
    </xsl:template>
  
    <xsl:template match="reset">
      <input type="reset" value="[EMAIL PROTECTED]"/>
    </xsl:template>
    
    <xsl:template match="parameter">
      <input type="hidden" name="[EMAIL PROTECTED]" value="[EMAIL PROTECTED]"/>
    </xsl:template>
    
    <xsl:template match="radio">
      <xsl:for-each select="option">
        <xsl:choose>
          <xsl:when test="position()=1">
            <input type="radio" name="{../@group}" value="[EMAIL PROTECTED]" 
checked="true"/>
          </xsl:when>
          <xsl:otherwise>
            <input type="radio" name="{../@group}" value="[EMAIL PROTECTED]"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:value-of select="."/><br/>
      </xsl:for-each>
    </xsl:template>
  
    <xsl:template match="text">
      <xsl:choose>
        <xsl:when test="@required='true'">
          <span style="color: #ff0000;">*</span>
        </xsl:when>
        <xsl:otherwise>&#160;</xsl:otherwise>
      </xsl:choose>
      <input type="text" name="[EMAIL PROTECTED]" size="[EMAIL PROTECTED]" 
value="[EMAIL PROTECTED]"/>
    </xsl:template>
    
    <xsl:template match="check">
      <xsl:element name="input">
        <xsl:attribute name="type">checkbox</xsl:attribute>
        <xsl:attribute name="value">1</xsl:attribute>
        <xsl:attribute name="name"><xsl:value-of 
select="@name"/></xsl:attribute>
        <xsl:if test="@checked='true'">
          <xsl:attribute name="checked"/>
        </xsl:if>
      </xsl:element>
    </xsl:template>
    
    <xsl:template match="p">
      <p align="justify"><xsl:apply-templates/></p>
    </xsl:template>
  
    <xsl:template match="note">
     <p>
      <table width="100%" cellspacing="3" cellpadding="0" border="0">
        <tr>
          <td width="28" valign="top">
            <img src="images/note.gif" width="28" height="29" vspace="0" 
hspace="0" border="0" alt="Note"/>
          </td>
          <td valign="top">
            <font size="-1" face="arial,helvetica,sanserif" color="#000000">
              <i>
                <xsl:apply-templates/>
              </i>
            </font>
          </td>
        </tr>  
      </table>
     </p>
    </xsl:template>
  
    <xsl:template match="source">
     <div align="center">
      <table cellspacing="4" cellpadding="0" border="0">
      <tr>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" height="1"><img src="images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#0086b2" width="1"><img src="images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#ffffff"><pre><xsl:apply-templates/></pre></td>
        <td bgcolor="#0086b2" width="1"><img src="images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      <tr>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" height="1"><img src="images/void.gif" width="1" 
height="1" vspace="0" hspace="0" border="0"/></td>
        <td bgcolor="#0086b2" width="1" height="1"><img src="images/void.gif" 
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
      </tr>
      </table>
     </div>
    </xsl:template>
  
   <xsl:template match="figure">
    <p align="center"><img src="[EMAIL PROTECTED]" alt="[EMAIL PROTECTED]" 
border="0" vspace="4" hspace="4"/></p>
   </xsl:template>
   
   <xsl:template match="img">
     <img src="[EMAIL PROTECTED]" alt="[EMAIL PROTECTED]" border="0" vspace="4" 
hspace="4" align="right"/>
   </xsl:template>
  
   <xsl:template match="icon">
     <img src="[EMAIL PROTECTED]" alt="[EMAIL PROTECTED]" border="0" 
align="absmiddle"/>
   </xsl:template>
  
    <xsl:template match="footer"/>
  
    <xsl:template match="fixme"/>
  
   <xsl:template match="ul|ol|dl">
    <blockquote>
     <xsl:copy>
      <xsl:apply-templates/>
     </xsl:copy>
    </blockquote>
   </xsl:template>
   
   <xsl:template match="li">
    <xsl:copy>
     <xsl:apply-templates/>
    </xsl:copy>
   </xsl:template>
  
   <xsl:template match="sl">
    <ul>
     <xsl:apply-templates/>
    </ul>
   </xsl:template>
  
   <xsl:template match="dt">
    <li>
     <strong><xsl:value-of select="."/></strong>
     <xsl:text> - </xsl:text>
     <xsl:apply-templates select="dd"/>   
    </li>
   </xsl:template>
  
    <xsl:template match="table">
      <table width="100%" border="0" cellspacing="2" cellpadding="2">
        <caption><xsl:value-of select="caption"/></caption>
        <xsl:apply-templates/>
      </table>
    </xsl:template>
  
    <xsl:template match="tr">
      <tr><xsl:apply-templates/></tr>
    </xsl:template>
  
    <xsl:template match="th">
      <td bgcolor="#039acc" colspan="[EMAIL PROTECTED]" rowspan="[EMAIL 
PROTECTED]" valign="center" align="center">
        <font color="#ffffff" size="-1" face="arial,helvetica,sanserif">
          <b><xsl:apply-templates/></b>&#160;
        </font>
      </td>
    </xsl:template>
  
    <xsl:template match="td">
      <td bgcolor="#a0ddf0" colspan="[EMAIL PROTECTED]" rowspan="[EMAIL 
PROTECTED]" valign="top" align="left">
        <font color="#000000" size="-1" face="arial,helvetica,sanserif">
          <xsl:apply-templates/>&#160;
        </font>
      </td>
    </xsl:template>
  
    <xsl:template match="tn">
      <td bgcolor="#ffffff" colspan="[EMAIL PROTECTED]" rowspan="[EMAIL 
PROTECTED]">
        &#160;
      </td>
    </xsl:template>
    
    <xsl:template match="caption"/>
  
    <xsl:template match="overview">
      <div class="ovw"><xsl:apply-templates/></div>
    </xsl:template>
  
    <xsl:template match="quote">
      <div class="ctr"><xsl:apply-templates/></div>
    </xsl:template>
  
    <xsl:template match="rule">
      <br/><img src="images/hstrip.gif" width="364" height="18"/><br/>
    </xsl:template>
  
   <xsl:template match="link">
     <a href="[EMAIL PROTECTED]"><xsl:apply-templates/></a>
   </xsl:template>
  
   <xsl:template match="connect">
    <xsl:apply-templates/>
   </xsl:template>
  
   <xsl:template match="jump">
     <a href="[EMAIL PROTECTED]@anchor}"><xsl:apply-templates/></a>
   </xsl:template>
  
   <xsl:template match="fork">
     <a href="[EMAIL PROTECTED]" target="_blank"><xsl:apply-templates/></a>
   </xsl:template>
  
   <xsl:template match="anchor">
     <a name="[EMAIL PROTECTED]"><xsl:comment>anchor</xsl:comment></a>
   </xsl:template>  
  
   <xsl:template match="strong">
     <b><xsl:apply-templates/></b>
   </xsl:template>
  
   <xsl:template match="em">
      <i><xsl:apply-templates/></i>
   </xsl:template>
  
   <xsl:template match="code">
      <code><font face="courier, 
monospaced"><xsl:apply-templates/></font></code>
   </xsl:template>
   
    <xsl:template match="connect">
      <xsl:apply-templates/>
    </xsl:template>
  
    <xsl:template match="bottom">
      <div class="bot"><xsl:apply-templates/></div>
    </xsl:template>
  
    <xsl:template match="@*|node()">
      <xsl:copy>
        <xsl:apply-templates select="@*|node()"/>
      </xsl:copy>
    </xsl:template>
  </xsl:stylesheet>
  
  
  
  1.1                  
xml-cocoon2/webapp/tutorial/stylesheets/system/error2document.xsl
  
  Index: error2document.xsl
  ===================================================================
  <?xml version="1.0"?>
  
  <xsl:stylesheet version="1.0"
   xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
   xmlns:error="http://apache.org/cocoon/error/2.0";>
  
  <xsl:template match="error:notify">
   <document>
     <header>
       <title>
         <xsl:if test="@type">
           <xsl:value-of select="@type"/>:
         </xsl:if>
         <xsl:value-of select="error:title"/>
       </title>
     </header>
     <body>
       <s1 title="Details">
         <s2 title="Message">
           <xsl:if test="@type">
             <xsl:value-of select="@type"/>:
           </xsl:if>
           <xsl:value-of select="error:message"/>
         </s2>
         <xsl:if test="@sender">
           <s2 title="From">
             <p><xsl:value-of select="@sender"/></p>
           </s2>
         </xsl:if>
         <s2 title="Source">
           <p><xsl:value-of select="error:source"/></p>
         </s2>
         <s2 title="Description">
           <p><xsl:value-of select="error:description"/></p>
         </s2>
       </s1>
       <s1 title="Stack Traces">
         <xsl:apply-templates select="error:extra"/>
       </s1>
     </body>
   </document>
  </xsl:template>
  
    <xsl:template match="error:extra">
      <note><code><xsl:value-of select="."/></code></note>
   </xsl:template>
  </xsl:stylesheet>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to