You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ov...@apache.org on 2002/09/06 01:54:34 UTC
cvs commit: xml-cocoon2/src/webapp/samples/flow sitemap.xmap
ovidiu 2002/09/05 16:54:34
Modified: src/webapp/samples/flow sitemap.xmap
Log:
Get the XSP pages of each sample from the corresponding pages/
directory of the sample. Get the gif images from
context://samples/tutorial/resources/images/.
Revision Changes Path
1.4 +3 -3 xml-cocoon2/src/webapp/samples/flow/sitemap.xmap
Index: sitemap.xmap
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/webapp/samples/flow/sitemap.xmap,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sitemap.xmap 15 Jun 2002 06:34:09 -0000 1.3
+++ sitemap.xmap 5 Sep 2002 23:54:34 -0000 1.4
@@ -53,8 +53,8 @@
<map:serialize type="xml"/>
</map:match>
- <map:match pattern="body-examples/**.xml">
- <map:generate src="examples/{1}.xsp" type="serverpages"/>
+ <map:match pattern="body-examples/*/**.xml">
+ <map:generate src="examples/{1}/pages/{2}.xsp" type="serverpages"/>
<map:transform src="stylesheets/extended-document2html.xsl"/>
<map:serialize type="xml"/>
</map:match>
@@ -116,7 +116,7 @@
</map:match>
<map:match pattern="**/images/*.gif">
- <map:read src="context:///tutorial/resources/images/{2}.gif"
+ <map:read src="context://samples/tutorial/resources/images/{2}.gif"
mime-type="image/gif"/>
</map:match>
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org