dims 01/07/10 09:01:12
Modified: . build.xml
webapp sitemap.xmap
webapp/docs/samples samples.xml
xdocs livesites.xml
Added: webapp/stylesheets/documents book2sidebar.xsl root2html.xsl
Log:
- Added Donald Ball's StyleSheets for generating C2 site without Stylebook
- Added John Morrison's patch(es) to make C2 Docs available in the sample webapp.
Revision Changes Path
1.22 +15 -0 xml-cocoon2/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/build.xml,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- build.xml 2001/06/28 10:07:16 1.21
+++ build.xml 2001/07/10 16:00:36 1.22
@@ -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>
1.24 +25 -2 xml-cocoon2/webapp/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/webapp/sitemap.xmap,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- sitemap.xmap 2001/07/10 15:26:59 1.23
+++ sitemap.xmap 2001/07/10 16:00:43 1.24
@@ -169,8 +169,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>
@@ -299,7 +312,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"/>
@@ -308,6 +320,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 =========================== -->
1.6 +6 -0 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.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- samples.xml 2001/07/10 15:27:06 1.5
+++ samples.xml 2001/07/10 16:00:50 1.6
@@ -24,6 +24,12 @@
</sample>
</group>
+ <group name="Documentation">
+ <sample name="C2 Docs" href="documents/index">
+ The Cocoon2 documents.
+ </sample>
+ </group>
+
<group name="XML-ized web sites">
<sample name="java.apache.org" href="sites/java.apache.org">
This page shows a much more complex example that shows how powerful
1.2 +30 -0 xml-cocoon2/webapp/stylesheets/documents/book2sidebar.xsl
1.2 +76 -0 xml-cocoon2/webapp/stylesheets/documents/root2html.xsl
1.3 +12 -0 xml-cocoon2/xdocs/livesites.xml
Index: livesites.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/xdocs/livesites.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- livesites.xml 2001/06/08 10:54:30 1.2
+++ livesites.xml 2001/07/10 16:01:08 1.3
@@ -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:[EMAIL PROTECTED]">tell us</link> (and confirm
that you want
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]