tcurdt 2003/03/11 07:43:27
Modified: src/blocks/precept/samples sitemap.xmap
Added: src/blocks/precept/samples samples.xml
Log:
fixed the precept samples
Revision Changes Path
1.2 +6 -1 cocoon-2.1/src/blocks/precept/samples/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/blocks/precept/samples/sitemap.xmap,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sitemap.xmap 9 Mar 2003 00:05:45 -0000 1.1
+++ sitemap.xmap 11 Mar 2003 15:43:27 -0000 1.2
@@ -24,11 +24,16 @@
</map:match>
<map:match pattern="welcome">
- <map:generate src="index.xml"/>
+ <map:generate src="samples.xml"/>
<map:transform
src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
<map:parameter name="contextPath" value="{request:contextPath}"/>
</map:transform>
<map:serialize/>
+ </map:match>
+
+ <map:match pattern="model.xml">
+ <map:generate src="model/easyrelax.xml"/>
+ <map:serialize type="xml"/>
</map:match>
<map:match pattern="**.html">
1.1 cocoon-2.1/src/blocks/precept/samples/samples.xml
Index: samples.xml
===================================================================
<?xml version="1.0" encoding="iso-8859-1"?>
<samples xmlns:xlink="http://www.w3.org/1999/xlink" name="precept block">
<group name="Main examples page.">
<sample name="Back" href="..">to Cocoon examples main page</sample>
</group>
<group name="Precept">
<sample name="Wizard Example 1" href="app/example1.html">Each view has it's own
stylesheet</sample>
<sample name="Wizard Example 2" href="app/example2.html">A general stylesheet for
all views</sample>
<sample name="Schema of the Model" href="model.xml">The grammar that defines the
model</sample>
</group>
</samples>