crossley 2004/03/20 04:57:17
Modified: src/webapp/samples samples.xml sitemap.xmap Added: src/webapp/samples misc-samples.xml Log: Add a new page for miscellaneous samples. Revision Changes Path 1.33 +5 -5 cocoon-2.1/src/webapp/samples/samples.xml Index: samples.xml =================================================================== RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/samples.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -r1.32 -r1.33 --- samples.xml 20 Mar 2004 12:42:27 -0000 1.32 +++ samples.xml 20 Mar 2004 12:57:17 -0000 1.33 @@ -87,10 +87,10 @@ <sample href="components" name="Components"> Some samples of various components that are included with the core, e.g. Stream Generators, Paginator Transformers, Image Readers. - </sample> - <sample href="text-wrap/" name="Text wrap"> - Addresses the problem of wrapping long lines of text in source elements. - </sample> + </sample> + <sample href="misc" name="Miscellaneous samples"> + Some stuff that does not fit into the other groups of samples. + </sample> </group> <group name="Block Samples"> 1.22 +9 -1 cocoon-2.1/src/webapp/samples/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/cocoon-2.1/src/webapp/samples/sitemap.xmap,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- sitemap.xmap 17 Mar 2004 20:35:40 -0000 1.21 +++ sitemap.xmap 20 Mar 2004 12:57:17 -0000 1.22 @@ -110,6 +110,14 @@ <map:serialize/> </map:match> + <map:match pattern="misc"> + <map:generate src="misc-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> + <!-- ========================= Utilities ================================ --> <map:match pattern="**sitemap.xmap"> 1.1 cocoon-2.1/src/webapp/samples/misc-samples.xml Index: misc-samples.xml =================================================================== <?xml version="1.0" encoding="iso-8859-1"?> <!-- 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. --> <!-- CVS $Id: misc-samples.xml,v 1.1 2004/03/20 12:57:17 crossley Exp $ --> <samples xmlns:xlink="http://www.w3.org/1999/xlink" name="Miscellaneous samples"> <group name="Back"> <sample name="Back" href="./"> Back to the samples home page. </sample> <note> These are various samples that do not fit into the other groups of samples. </note> </group> <group name="Testing"> <note> This is a scratchpad area for samples. </note> <sample href="text-wrap/" name="Text wrap"> Addresses the problem of wrapping long lines of text in source elements. </sample> </group> </samples>