forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r157783 [1/2] - in forrest/trunk/whiteboard/org.apache.forrest.plugin.Database: ./ conf/ lib/ resources/ resources/stylesheets/ src/ src/documentation/ src/documentation/classes/ src/documentation/content/ src/documentation/content/xdocs/ src/documentation/content/xdocs/images/ src/documentation/content/xdocs/samples/ src/java/ src/java/org/ src/java/org/apache/ src/java/org/apache/cocoon/ src/java/org/apache/cocoon/components/ src/java/org/apache/cocoon/components/database/ src/java/org/apache/cocoon/transformation/ src/mocks/ src/mocks/com/ src/mocks/com/informix/ src/mocks/com/informix/jdbc/ src/mocks/oracle/ src/mocks/oracle/jdbc/ src/mocks/oracle/sql/
Date Wed, 16 Mar 2005 18:20:49 GMT
Author: rgardler
Date: Wed Mar 16 10:20:41 2005
New Revision: 157783

URL: http://svn.apache.org/viewcvs?view=rev&rev=157783
Log:
An experimental database block, it uses much of the Cocoon DB block code and is part of a larger experiment to get Cocoon blocks working as Forrest plugins. It is usable as is though.

Added:
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/README.txt   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/build.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoon-databases.xconf   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.properties   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.script
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/hsql.driver.xweb
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/include-databases.xconf   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/forrest.properties   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/input.xmap   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar.license.txt   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb.jar   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb_LICENSE.txt   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/sqldata2table.xsl   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/CatalogManager.properties   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/.html   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group-logo.gif   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group.svg   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/icon.png   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project-logo.gif   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project.svg   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/usemap.gif   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/index.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/sql-document.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/site.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/tabs.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/skinconf.xml   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/cocoon/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/cocoon/components/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/cocoon/components/database/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/cocoon/components/database/database.roles
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/cocoon/transformation/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/java/org/apache/cocoon/transformation/SQLTransformer.java   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/com/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/com/informix/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/com/informix/jdbc/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/com/informix/jdbc/IfxStatement.java   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/oracle/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/oracle/jdbc/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/oracle/jdbc/OracleResultSet.java   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/oracle/sql/
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/oracle/sql/BLOB.java   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/mocks/oracle/sql/CLOB.java   (with props)
    forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/status.xml   (with props)

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/README.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/README.txt?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/README.txt (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/README.txt Wed Mar 16 10:20:41 2005
@@ -0,0 +1,8 @@
+Much of this plugin comes from Cocoons db block 
+it is part of an attempt to automatically enable
+cocoon blocks to become Forrest plugins.
+
+As it stands it does work, although some 
+configuration may be necessary that I have 
+forgotten about so if you can't get the samples
+working just email the dev list.
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/build.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/build.xml?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/build.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/build.xml Wed Mar 16 10:20:41 2005
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project default="docs" basedir="." name="Forrest plugin build file">
+
+  <property name="plugin-name" value="org.apache.forrest.plugin.Database"/>
+
+  <import file="../build.xml"/>
+  
+  <!-- Add any additional installation work here in the build target, for example:
+  <target name="build"
+          description="Extract the tools">
+     <unzip dest="${plugins.localDeploy-dir}/${plugin-name}/resources">
+       <fileset dir="tools">
+          <include name="pluginBionaryTools.zip"/>
+        </fileset>
+     </unzip>   
+  </target>
+  -->
+</project>
+  
+  

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoon-databases.xconf
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoon-databases.xconf?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoon-databases.xconf (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoon-databases.xconf Wed Mar 16 10:20:41 2005
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<components>
+  <include src="resource://org/apache/cocoon/components/database/database.roles"/>
+
+  <datasources>
+    <jdbc name="datalogger">
+      <pool-controller min="5" max="10"/>
+      <dburl>jdbc:hsqldb:hsql://localhost:9002/datalogger</dburl>
+      <user>sa</user>
+      <password></password>
+    </jdbc>
+  </datasources>
+  
+</components>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoon-databases.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.properties?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.properties (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.properties Wed Mar 16 10:20:41 2005
@@ -0,0 +1,31 @@
+#HSQL database
+
+# Copyright 1999-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#Tue Mar 11 17:17:57 CET 2003
+sql.strict_fk=true
+readonly=false
+sql.strong_fk=true
+hsqldb.version=1.7.1
+version=1.7.1
+hsqldb.cache_scale=14
+sql.compare_in_locale=false
+sql.month=true
+hsqldb.log_size=200
+modified=no
+hsqldb.cache_version=1.7.0
+hsqldb.original_version=1.7.1
+hsqldb.compatible_version=1.7.0
+sql.enforce_size=false

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.script
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.script?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.script (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/cocoondb.script Wed Mar 16 10:20:41 2005
@@ -0,0 +1,139 @@
+-- Copyright 1999-2004 The Apache Software Foundation
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+--     http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+
+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))
+CREATE TABLE STATE_TAX(CATEGORY VARCHAR NOT NULL,GROSSTAX_COLLECTED DOUBLE NOT NULL,NETTAX_COLLECTED DOUBLE NOT NULL,YEAR INTEGER NOT NULL)
+CREATE TABLE MEDIA(ID INTEGER IDENTITY PRIMARY KEY,IMAGE BINARY,MIMETYPE VARCHAR)
+CREATE TABLE SOURCEPROPS(SOURCE VARCHAR NOT NULL,NAMESPACE VARCHAR NOT NULL,NAME VARCHAR NOT NULL,VALUE VARCHAR NOT NULL,CONSTRAINT SYS_CT_11 UNIQUE(SOURCE,NAMESPACE,NAME))
+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,'Testers')
+INSERT INTO EMPLOYEE VALUES(1,1,'Donald Ball')
+INSERT INTO EMPLOYEE VALUES(2,1,'Sylvain Wallez')
+INSERT INTO EMPLOYEE VALUES(3,1,'Carsten Ziegeler')
+INSERT INTO EMPLOYEE VALUES(4,1,'Torsten Curdt')
+INSERT INTO EMPLOYEE VALUES(5,1,'Marcus Crafter')
+INSERT INTO EMPLOYEE VALUES(6,1,'Ovidiu Predescu')
+INSERT INTO EMPLOYEE VALUES(7,1,'Christian Haul')
+INSERT INTO EMPLOYEE VALUES(8,2,'Stefano Mazzocchi')
+INSERT INTO EMPLOYEE VALUES(9,3,'Pierpaolo Fumagalli')
+INSERT INTO EMPLOYEE VALUES(10,3,'Davanum Srinivas')
+
+INSERT INTO STATE_TAX VALUES('State Sales And Use',6.263250997E9,6.213961851E9,2000)
+INSERT INTO STATE_TAX VALUES('Local Sales And Use',1.321129345E9,1.321129345E9,2000)
+INSERT INTO STATE_TAX VALUES('Resort Area Excise',718624.0,718624.0,2000)
+INSERT INTO STATE_TAX VALUES('State Personal Income',8.983891961E9,8.084576329E9,2000)
+INSERT INTO STATE_TAX VALUES('Corporation Franchise',1.219484766E9,1.029883951E9,2000)
+INSERT INTO STATE_TAX VALUES('Motor Vehicle Fuel',1.418996649E9,1.404945725E9,2000)
+INSERT INTO STATE_TAX VALUES('Public Utility Excise',7.04245493E8,6.75339746E8,2000)
+INSERT INTO STATE_TAX VALUES('Kilowatt-Hour Excise',0.0,0.0,2000)
+INSERT INTO STATE_TAX VALUES('Cigarette Excise',2.89795508E8,2.87710095E8,2000)
+INSERT INTO STATE_TAX VALUES('Dealers in Intangibles',5055311.0,2.2333722E7,2000)
+INSERT INTO STATE_TAX VALUES('Motor Fuel Use',2.2615436E7,6.6889345E7,2000)
+INSERT INTO STATE_TAX VALUES('Alchoholic Beverage Excise',5.6125329E7,5.5993783E7,2000)
+INSERT INTO STATE_TAX VALUES('Replacement Tire Fee',3339367.0,3339367.0,2000)
+INSERT INTO STATE_TAX VALUES('Local Alchoholic Beverage',6284465.0,5851787.0,2000)
+INSERT INTO STATE_TAX VALUES('Horse Racing',1.6582056E7,1.7321198E7,2000)
+INSERT INTO STATE_TAX VALUES('Severance',8295336.0,7981539.0,2000)
+INSERT INTO STATE_TAX VALUES('School District Income',1.50083042E8,1.61257059E8,2000)
+INSERT INTO STATE_TAX VALUES('State Sales And Use',6.287758244E9,6.23711041E9,2001)
+INSERT INTO STATE_TAX VALUES('Local Sales And Use',1.352436625E9,1.352436625E9,2001)
+INSERT INTO STATE_TAX VALUES('Resort Area Excise',719420.0,719420.0,2001)
+INSERT INTO STATE_TAX VALUES('State Personal Income',9.221429278E9,8.119314587E9,2001)
+INSERT INTO STATE_TAX VALUES('Corporation Franchise',1.158910767E9,9.72967198E8,2001)
+INSERT INTO STATE_TAX VALUES('Motor Vehicle Fuel',1.325132798E9,1.307275001E9,2001)
+INSERT INTO STATE_TAX VALUES('Public Utility Excise',6.91925015E8,6.7431469E8,2001)
+INSERT INTO STATE_TAX VALUES('Kilowatt-Hour Excise',3.8026261E7,3.8026261E7,2001)
+INSERT INTO STATE_TAX VALUES('Cigarette Excise',2.83978172E8,2.82481419E8,2001)
+INSERT INTO STATE_TAX VALUES('Dealers in Intangibles',2.4913075E7,2.4881108E7,2001)
+INSERT INTO STATE_TAX VALUES('Motor Fuel Use',7.5662992E7,7.5311561E7,2001)
+INSERT INTO STATE_TAX VALUES('Alchoholic Beverage Excise',5.5862063E7,5.5740722E7,2001)
+INSERT INTO STATE_TAX VALUES('Replacement Tire Fee',3470795.0,3470795.0,2001)
+INSERT INTO STATE_TAX VALUES('Local Alchoholic Beverage',5851787.0,5851787.0,2001)
+INSERT INTO STATE_TAX VALUES('Horse Racing',1.7921198E7,1.7321198E7,2001)
+INSERT INTO STATE_TAX VALUES('Severance',7981539.0,7967438.0,2001)
+INSERT INTO STATE_TAX VALUES('School District Income',1.61257059E8,1.53238001E8,2001)

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/hsql.driver.xweb
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/hsql.driver.xweb?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/hsql.driver.xweb (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/hsql.driver.xweb Wed Mar 16 10:20:41 2005
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<xweb xpath="/web-app/servlet/init-param[param-name='load-class']/param-value"
+	unless="text()[contains(string(.),'org.hsqldb.jdbcDriver')] | 
+		comment()[contains(string(.),'org.hsqldb.jdbcDriver')]">
+        <!-- For Database Driver: -->
+        org.hsqldb.jdbcDriver
+
+</xweb>
\ No newline at end of file

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/include-databases.xconf
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/include-databases.xconf?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/include-databases.xconf (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/include-databases.xconf Wed Mar 16 10:20:41 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!-- SVN $Id: include-databases.xconf 123745 2004-12-30 23:18:35Z sylvain $ -->
+
+<xconf xpath="/components" unless="include[@src='resource://xconf/cocoon-databases.xconf']">
+  <include src="resource://cocoon-databases.xconf"/>
+</xconf>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/conf/include-databases.xconf
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/forrest.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/forrest.properties?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/forrest.properties (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/forrest.properties Wed Mar 16 10:20:41 2005
@@ -0,0 +1,108 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+##############
+# Properties used by forrest.build.xml for building the website
+# These are the defaults, un-comment them if you need to change them.
+##############
+
+# Prints out a summary of Forrest settings for this project
+#forrest.echo=true
+
+# Project name (used to name .war file)
+#project.name=my-project
+
+# Specifies name of Forrest skin to use
+#project.skin=tigris
+#project.skin=pelt
+
+# comma separated list, file:// is supported
+#forrest.skins.descriptors=http://forrest.apache.org/skins/skins.xml,file:///c:/myskins/skins.xml
+
+##############
+# behavioural properties
+#project.menu-scheme=tab_attributes
+#project.menu-scheme=directories
+
+##############
+# layout properties
+
+# Properties that can be set to override the default locations
+#
+# Parent properties must be set. This usually means uncommenting
+# project.content-dir if any other property using it is uncommented
+
+#project.status=status.xml
+#project.content-dir=src/documentation
+#project.raw-content-dir=${project.content-dir}/content
+#project.conf-dir=${project.content-dir}/conf
+#project.sitemap-dir=${project.content-dir}
+#project.xdocs-dir=${project.content-dir}/content/xdocs
+#project.resources-dir=${project.content-dir}/resources
+#project.stylesheets-dir=${project.resources-dir}/stylesheets
+#project.images-dir=${project.resources-dir}/images
+#project.schema-dir=${project.resources-dir}/schema
+#project.skins-dir=${project.content-dir}/skins
+#project.skinconf=${project.content-dir}/skinconf.xml
+#project.lib-dir=${project.content-dir}/lib
+#project.classes-dir=${project.content-dir}/classes
+#project.translations-dir=${project.content-dir}/translations
+
+##############
+# validation properties
+
+# This set of properties determine if validation is performed
+# Values are inherited unless overridden.
+# e.g. if forrest.validate=false then all others are false unless set to true.
+#forrest.validate=true
+#forrest.validate.xdocs=${forrest.validate}
+#forrest.validate.skinconf=${forrest.validate}
+#forrest.validate.sitemap=${forrest.validate}
+#forrest.validate.stylesheets=${forrest.validate}
+#forrest.validate.skins=${forrest.validate}
+#forrest.validate.skins.stylesheets=${forrest.validate.skins}
+
+# *.failonerror=(true|false) - stop when an XML file is invalid
+#forrest.validate.failonerror=true
+
+# *.excludes=(pattern) - comma-separated list of path patterns to not validate
+# e.g.
+#forrest.validate.xdocs.excludes=samples/subdir/**, samples/faq.xml
+#forrest.validate.xdocs.excludes=
+
+
+##############
+# General Forrest properties
+
+# The URL to start crawling from
+#project.start-uri=linkmap.html
+# Set logging level for messages printed to the console
+# (DEBUG, INFO, WARN, ERROR, FATAL_ERROR)
+#project.debuglevel=ERROR
+# Max memory to allocate to Java
+#forrest.maxmemory=64m
+# Any other arguments to pass to the JVM. For example, to run on an X-less
+# server, set to -Djava.awt.headless=true
+#forrest.jvmargs=
+# The bugtracking URL - the issue number will be appended
+#project.bugtracking-url=http://issues.apache.org/bugzilla/show_bug.cgi?id=
+#project.bugtracking-url=http://issues.apache.org/jira/browse/
+# The issues list as rss
+#project.issues-rss-url=
+#I18n Property only works for the "forrest run" target.
+#project.i18n=true
+# The names of plugins that are required to build the project
+# comma separated list (no spaces)
+# Run "forrest available-plugins" for a list of plug-ins currently available
+project.required.plugins=org.apache.forrest.plugin.Database,org.apache.forrest.plugin.pdf-output

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/forrest.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/input.xmap
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/input.xmap?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/input.xmap (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/input.xmap Wed Mar 16 10:20:41 2005
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
+  <map:components>
+	<map:transformers default="xslt">
+	  <map:transformer name="sql" src="org.apache.cocoon.transformation.SQLTransformer"/>
+	</map:transformers>
+  </map:components>
+
+  <map:pipelines>
+
+	  <map:pipeline>
+	
+	   <map:match pattern="database.xml">
+	    <map:generate src="{project:content.xdocs}/samples/sql-document.xml"/>
+		<map:transform type="sql"> 
+	  	  <map:parameter name="dburl" value="jdbc:hsqldb:hsql://localhost:9002/datalogger"/>
+		  <map:parameter name="username" value="sa"/>
+		  <map:parameter name="password" value=""/>
+		  <map:parameter name="show-nr-of-rows" value="true"/> 
+		</map:transform>
+		<map:transform src="resources/stylesheets/sqldata2table.xsl"/>
+	    <map:serialize type="xml"/>
+	   </map:match>
+	
+	  </map:pipeline>
+  
+  </map:pipelines>
+
+</map:sitemap>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/input.xmap
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar?view=auto&rev=157783
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar.license.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar.license.txt?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar.license.txt (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar.license.txt Wed Mar 16 10:20:41 2005
@@ -0,0 +1,176 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/excalibur-datasource-1.1.1.jar.license.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb.jar
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb.jar?view=auto&rev=157783
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb.jar
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb_LICENSE.txt
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb_LICENSE.txt?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb_LICENSE.txt (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb_LICENSE.txt Wed Mar 16 10:20:41 2005
@@ -0,0 +1,31 @@
+/* Copyright (c) 2001-2004, The HSQL Development Group
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice, this
+ * list of conditions and the following disclaimer.
+ *
+ * Redistributions in binary form must reproduce the above copyright notice,
+ * this list of conditions and the following disclaimer in the documentation
+ * and/or other materials provided with the distribution.
+ *
+ * Neither the name of the HSQL Development Group nor the names of its
+ * contributors may be used to endorse or promote products derived from this
+ * software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL HSQL DEVELOPMENT GROUP, HSQLDB.ORG, 
+ * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+ * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/lib/hsqldb_LICENSE.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/sqldata2table.xsl
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/sqldata2table.xsl?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/sqldata2table.xsl (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/sqldata2table.xsl Wed Mar 16 10:20:41 2005
@@ -0,0 +1,63 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 1999-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+                              xmlns:sql="http://apache.org/cocoon/SQL/2.0">
+
+
+  <xsl:template match="sql:rowset">
+   <xsl:choose>
+    <xsl:when test="ancestor::sql:rowset">
+     <tr>
+      <td>
+       <table border="1">
+		<xsl:call-template name="headings"/>
+        <xsl:apply-templates/>
+       </table>
+      </td>
+     </tr>
+    </xsl:when>
+    <xsl:otherwise>
+     <table border="1">
+	  <xsl:call-template name="headings"/>
+      <xsl:apply-templates/>
+     </table>
+    </xsl:otherwise>
+   </xsl:choose>
+  </xsl:template>
+
+  <xsl:template name="headings">
+    <xsl:for-each select="sql:row[1]/*">
+      <th><xsl:value-of select="name()"/></th>
+	</xsl:for-each>
+  </xsl:template>
+
+  <xsl:template match="sql:row">
+   <tr>
+    <xsl:for-each select="*">
+      <td><xsl:value-of select="."/></td>
+	</xsl:for-each>
+   </tr>
+  </xsl:template>
+
+  <xsl:template match="@*|*|text()|processing-instruction()|comment()">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()|comment()"/>
+    </xsl:copy>
+  </xsl:template>
+
+</xsl:stylesheet>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/resources/stylesheets/sqldata2table.xsl
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/CatalogManager.properties
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/CatalogManager.properties?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/CatalogManager.properties (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/CatalogManager.properties Wed Mar 16 10:20:41 2005
@@ -0,0 +1,51 @@
+# Copyright 2002-2004 The Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#=======================================================================
+# CatalogManager.properties for Catalog Entity Resolver.
+#
+# This is the default properties file for your project.
+# This facilitates local configuration of application-specific catalogs.
+# If you have defined any local catalogs, then they will be loaded
+# before Forrest's core catalogs.
+#
+# See the Apache Forrest documentation:
+# http://forrest.apache.org/docs/your-project.html
+# http://forrest.apache.org/docs/validation.html
+
+# verbosity:
+# The level of messages for status/debug (messages go to standard output).
+# The setting here is for your own local catalogs.
+# The verbosity of Forrest's core catalogs is controlled via
+#  forrestcore/src/core/context/WEB-INF/cocoon.xconf
+#
+# The following messages are provided ...
+#  0 = none
+#  1 = ? (... not sure yet)
+#  2 = 1+, Loading catalog, Resolved public, Resolved system
+#  3 = 2+, Catalog does not exist, resolvePublic, resolveSystem
+#  10 = 3+, List all catalog entries when loading a catalog
+#    (Cocoon also logs the "Resolved public" messages.)
+verbosity=1
+
+# catalogs ... list of additional catalogs to load
+#  (Note that Apache Forrest will automatically load its own default catalog
+#  from src/core/context/resources/schema/catalog.xcat)
+# use full pathnames
+# pathname separator is always semi-colon (;) regardless of operating system
+# directory separator is always slash (/) regardless of operating system
+#
+#catalogs=/home/me/forrest/my-site/src/documentation/resources/schema/catalog.xcat
+catalogs=
+

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/classes/CatalogManager.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/.html
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/.html?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/.html (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/.html Wed Mar 16 10:20:41 2005
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="ISO-8859-1"?><html><head><title/></head><body><body>&lt;!-- Copyright 2002-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --&gt; &lt;h1&gt;WYSIWYG Editing In Apache Forrest&lt;/h1&gt; &lt;p&gt;This plugin provides WYSIWYG editing for the Apache Forrest appliction. It currently only works with HTML input files, but we hope to extend its range of supported file formats.&lt;/p&gt; &lt;h2&gt;Try it out&lt;/h2&gt; &lt;p&gt;The easiest way to try it out is to &lt;a shape="rect" href="edit_htmlArea/index.html"&gt;edit this page&lt;/a&gt;.&lt;/p&gt; &lt;h1&gt;How do I allow users to edit my Pages?&lt;/h1&gt; &lt;p&gt;If a request is recieved with an URL that contains &amp;quot;edit_htmlArea/&amp;quot; then an edit page is generated for the indicated page. For example:&lt;/p&gt; &lt;p class="source"&gt; &lt;a href="edit_htmlArea/index.html"&gt;edit index&lt;/a&gt; &lt;/p&gt; &lt;p&gt;will create an editor for the &lt;code&gt;index.html&lt;/code&gt; page.&lt;/p&gt;</body></body></html>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group-logo.gif?view=auto&rev=157783
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group.svg?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group.svg (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group.svg Wed Mar 16 10:20:41 2005
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:group-name">
+ <!ELEMENT for:group-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="40%" y="60%" style="font-size:24pt; font-family:Verdana ; text-anchor: middle">
+    <for:group-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/group.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/icon.png
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/icon.png?view=auto&rev=157783
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/icon.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project-logo.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project-logo.gif?view=auto&rev=157783
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project-logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project.svg
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project.svg?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project.svg (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project.svg Wed Mar 16 10:20:41 2005
@@ -0,0 +1,81 @@
+<?xml version="1.0" standalone="no"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+       SVG Anteater logo
+
+To get started with SVG, I'd recommend getting the Adobe SVG plugin, and the
+xml-batik CVS module. Then have a look at the xml-batik/samples files. Use the
+SVG spec (http://www.w3.org/TR/SVG/) as a reference.
+-->
+
+<!-- See Forrest Issue: FOR-229
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
+[
+ <!ATTLIST svg xmlns:for CDATA #FIXED "http://apache.org/forrest">
+ <!ENTITY % textExt "|for:project-name">
+ <!ELEMENT for:project-name (#PCDATA)>
+]>
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+     xsl:version="1.0"
+     xmlns:for="http://apache.org/forrest"
+     width="220" height="65" >
+  <title>Anteater logo</title>
+
+  <defs>
+
+    <!--
+    <radialGradient id="radialGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </radialGradient>
+    <linearGradient id="linearGradient">
+      <stop style="stop-color:gold" offset="0"/>
+      <stop style="stop-color:orange" offset=".5"/>
+      <stop style="stop-color:crimson" offset="1"/>
+    </linearGradient>
+    -->
+
+    <linearGradient id="gradient" x1="0" y1="0" x2="0" y2="1">
+      <stop style="stop-color:white" offset="0"/>
+      <stop style="stop-color:lightgreen" offset="1"/>
+    </linearGradient>
+
+    <filter id="shadowFilter"  filterUnits="objectBoundingBox">
+      <!-- Takes the alpha channel (black outline of the text), blurs it and saves as 'blur' -->
+      <feGaussianBlur in="SourceAlpha" stdDeviation="2 2" result="blur"/>
+      <!-- Takes saved 'blur' and offsets it by 4 pixels, saves as 'offsetBlur' -->
+      <feOffset in="blur" dx="4" dy="4" result="offsetBlur"/>
+      <!-- Merges SourceGraphic (original image) and 'offsetBlur', putting the
+      former 'over' the latter, and using the merged result as the finished
+      image -->
+      <feComposite in="SourceGraphic" in2="offsetBlur" operator="over"/>
+    </filter>
+
+  </defs>
+
+  <g filter="url(#shadowFilter)" fill="url(#gradient)">
+    <text x="51%" y="75%" style="font-size:32pt; font-family:Verdana ; text-anchor: middle" >
+    <for:project-name />
+    </text>
+  </g>
+</svg>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/project.svg
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/usemap.gif
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/usemap.gif?view=auto&rev=157783
==============================================================================
Binary file - no diff available.

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/images/usemap.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/index.xml?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/index.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/index.xml Wed Mar 16 10:20:41 2005
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Welcome to the org.apache.forrest.plugin.Database Plugin</title> 
+  </header> 
+  <body> 
+    <section>
+      <title>Apache Forrest - org.apache.forrest.plugin.Database Plugin</title>
+      <p>This plugin allows data to be dynamically extracted from Databases and inserted into Forrest
+	  documents. It uses the Cocoon Databases block.</p>
+    </section>
+  </body>
+</document>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/sql-document.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/sql-document.xml?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/sql-document.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/sql-document.xml Wed Mar 16 10:20:41 2005
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
+<document> 
+  <header> 
+    <title>Dynamic Data from a Database</title> 
+  </header> 
+  <body> 
+	<section>
+ 	  <title>Dynamic Data</title>
+	  <p>The data below has been extracted from a database in order to generate this page.</p>
+
+	  <execute-query xmlns="http://apache.org/cocoon/SQL/2.0"> 
+	   <query>
+	        select * from reading where cremationid='100_1_1'
+	   </query>
+	  </execute-query>
+	</section>
+  </body>
+</document>
\ No newline at end of file

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/samples/sql-document.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/site.xml?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/site.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/site.xml Wed Mar 16 10:20:41 2005
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+
+<!--
+Forrest site.xml
+
+This file contains an outline of the site's information content.  It is used to:
+- Generate the website menus (though these can be overridden - see docs)
+- Provide semantic, location-independent aliases for internal 'site:' URIs, eg
+<link href="site:changes"> links to changes.html (or ../changes.html if in
+  subdir).
+- Provide aliases for external URLs in the external-refs section.  Eg, <link
+  href="ext:cocoon"> links to http://cocoon.apache.org/ 
+
+See http://forrest.apache.org/docs/linking.html for more info
+-->
+
+<site label="org.apache.forrest.plugin.Database" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
+
+  <about label="About">
+    <index label="Index" href="index.html" description="Welcome to org.apache.forrest.plugin.Database"/>
+    <changes label="Changes" href="changes.html" description="History of Changes" />
+    <todo label="Todo" href="todo.html" description="Todo List" />
+    <upgrade label="Upgrading Databases Block" href="upgrading.html" description="How to Upgrade the Cocoon Databases block in this plugin"/>
+  </about>
+
+  <!--
+  The href must be wholesite.html/pdf  You can change the labels and node names
+  <all label="All">
+    <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
+    <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
+  </all>
+  -->
+
+  <external-refs>
+    <forrest href="http://forrest.apache.org/">
+      <linking href="docs/linking.html"/>
+      <validation href="docs/validation.html"/>
+      <webapp href="docs/your-project.html#webapp"/>
+      <dtd-docs href="docs/dtd-docs.html"/>
+    </forrest>
+    <cocoon href="http://cocoon.apache.org/"/>
+    <xml.apache.org href="http://xml.apache.org/"/>
+  </external-refs>
+
+</site>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/tabs.xml
URL: http://svn.apache.org/viewcvs/forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/tabs.xml?view=auto&rev=157783
==============================================================================
--- forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/tabs.xml (added)
+++ forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/tabs.xml Wed Mar 16 10:20:41 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<!DOCTYPE tabs PUBLIC "-//APACHE//DTD Cocoon Documentation Tab V1.1//EN" "http://forrest.apache.org/dtd/tab-cocoon-v11.dtd">
+
+<tabs software="MyProj"
+  title="MyProj"
+  copyright="Foo"
+  xmlns:xlink="http://www.w3.org/1999/xlink">
+
+  <!-- The rules for tabs are:
+    @dir will always have '/@indexfile' added.
+    @indexfile gets appended to @dir if the tab is selected. Defaults to 'index.html'
+    @href is not modified unless it is root-relative and obviously specifies a
+    directory (ends in '/'), in which case /index.html will be added
+    If @id's are present, site.xml entries with a matching @tab will be in that tab.
+
+   Tabs can be embedded to a depth of two. The second level of tabs will only 
+    be displayed when their parent tab is selected.    
+  -->
+
+  <tab id="" label="Home" dir="" indexfile="index.html"/>
+  <!-- Add new tabs here, eg:
+  <tab label="How-Tos" dir="community/howto/"/>
+  <tab label="XML Site" dir="xml-site/"/>
+  -->
+
+</tabs>

Propchange: forrest/trunk/whiteboard/org.apache.forrest.plugin.Database/src/documentation/content/xdocs/tabs.xml
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message