? webapp/stylesheets/documents
Index: build.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/build.xml,v
retrieving revision 1.21
diff -u -r1.21 build.xml
--- build.xml	2001/06/28 10:07:16	1.21
+++ build.xml	2001/07/09 09:06:17
@@ -374,6 +374,21 @@
       </fileset>
     </copy>
 
+    <copy todir="${build.war}/docs/xdocs" filtering="off">
+      <fileset dir="${docs.dir}">
+        <include name="*.xml"/>
+        <include name="**/*.dtd"/>
+        <include name="**/*.ent"/>
+        <exclude name="*-book.xml"/>
+      </fileset>
+    </copy>
+
+    <copy todir="${build.war}/docs/xdocs/internal" filtering="off">
+      <fileset dir="${docs.dir}">
+        <include name="site-book.xml"/>
+      </fileset>
+    </copy>
+
     <copy todir="${build.war}/i18n" filtering="off">
       <fileset dir="${webapp.dir}/i18n">
       </fileset>
Index: webapp/sitemap.xmap
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/webapp/sitemap.xmap,v
retrieving revision 1.20
diff -u -r1.20 sitemap.xmap
--- webapp/sitemap.xmap	2001/07/06 21:35:03	1.20
+++ webapp/sitemap.xmap	2001/07/09 09:07:41
@@ -157,8 +157,21 @@
     <map:mount uri-prefix="i18n" src="i18n/" check-reload="yes"/>
    </map:match>
   </map:pipeline>
- <map:pipeline>
 
+  <map:pipeline internal-only="true">
+    <map:match pattern="shared/sidebar">
+      <map:generate src="docs/xdocs/internal/site-book.xml"/>
+	  <map:transform src="stylesheets/documents/book2sidebar.xsl"/>
+	  <map:serialize/>
+	</map:match>
+
+	<map:match pattern="document/*">
+	  <map:generate src="docs/xdocs/{1}.xml"/>
+	</map:match>
+  </map:pipeline>
+
+  <map:pipeline>
+
    <map:match pattern="">
     <map:redirect-to uri="welcome"/>
    </map:match>
@@ -287,7 +300,6 @@
     <map:serialize/>
    </map:match>
 
-
    <map:match pattern="news/aggregate.xml">
     <map:aggregate element="page" ns="http://foo.bar.com/myspace">
      <map:part src="cocoon:/slashdot/slashdot.xml" element="slashdot" ns="http://foo.bar.com/slashdot"/>
@@ -296,6 +308,17 @@
     </map:aggregate>
     <map:transform src="stylesheets/news/news.xsl"/>
     <map:serialize/>
+   </map:match>
+
+   <!-- ======================== C2 Docs ============================== -->
+
+   <map:match pattern="documents/*">
+     <map:aggregate element="root">
+       <map:part src="cocoon:/shared/sidebar"/>
+       <map:part src="cocoon:/document/{1}"/>
+     </map:aggregate>
+     <map:transform src="stylesheets/documents/root2html.xsl"/>
+     <map:serialize/>
    </map:match>
 
    <!-- ================  Static  =========================== -->
Index: webapp/docs/samples/samples.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/webapp/docs/samples/samples.xml,v
retrieving revision 1.4
diff -u -r1.4 samples.xml
--- webapp/docs/samples/samples.xml	2001/07/06 21:35:05	1.4
+++ webapp/docs/samples/samples.xml	2001/07/09 09:07:48
@@ -3,6 +3,9 @@
 <samples xmlns:xlink="http://www.w3.org/1999/xlink">
 
   <group name="Multimedia Hello World">
+   <sample name="Cocoon Docs" href="documents/">
+    The Cocoon2 documents.
+   </sample>
    <sample name="HTML" href="hello.html">
     This is a very simple demonstration of how to use Cocoon. A simple XML page
     is transformed into an HTML page.
Index: xdocs/livesites.xml
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/xdocs/livesites.xml,v
retrieving revision 1.2
diff -u -r1.2 livesites.xml
--- xdocs/livesites.xml	2001/06/08 10:54:30	1.2
+++ xdocs/livesites.xml	2001/07/09 09:08:40
@@ -65,7 +65,19 @@
     <!--<li><link href="http://www.weather-index.co.uk/">http://www.weather-index.co.uk</link></li> not up yet-->
 <!--<li><link href=""></link></li>-->
    </ul>
+  </s1>
 
+  <s1 title="Live Sites powered by Cocoon 2.X">
+   <p>
+    Here is a list of web sites that are proudly powered by Cocoon 2.X
+    (in chronological order):
+   </p>
+   
+   <ul>
+    <li><link href="http://www.sirvisetti.com/uddi/index.html">Sirvisetti UDDI Registrar WAP site</link></li>
+    <li><link href="http://www.xslt-patterns.com/">XSLTPatterns.com</link></li>
+<!--<li><link href=""></link></li>-->
+   </ul>
    <p>
     If you don't find your site here, make sure you 
     <link href="mailto:cocoon-users@xml.apache.org">tell us</link> (and confirm that you want

