dims 01/07/20 03:59:35 Modified: webapp.site sitemap.xmap Log: Patches from John Morrison for adding faqs, changes, todo to the index Revision Changes Path 1.4 +13 -0 xml-cocoon2/webapp.site/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/webapp.site/sitemap.xmap,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- sitemap.xmap 2001/07/17 08:39:18 1.3 +++ sitemap.xmap 2001/07/20 10:59:35 1.4 @@ -15,6 +15,7 @@ <map:part src="cocoon:/shared/sidebar"/> <map:part src="cocoon:/document/{1}"/> </map:aggregate> + <map:transform src="style/root2html.xsl"> <map:parameter name="path" value="{1}"/> </map:transform> @@ -29,11 +30,19 @@ <map:match pattern="document/*.html"> <map:generate src="content/xdocs/{1}.xml"/> + <map:act type="resource-exists"> + <map:parameter name="url" value="context://stylesheets/documents/{1}2document.xsl"/> + <map:transform src="stylesheets/documents/{../1}2document.xsl"/> + </map:act> <map:serialize/> </map:match> <map:match pattern="document/*"> <map:generate src="content/xdocs/{1}.xml"/> + <map:act type="resource-exists"> + <map:parameter name="url" value="context://stylesheets/documents/{1}2document.xsl"/> + <map:transform src="stylesheets/documents/{../1}2document.xsl"/> + </map:act> <map:serialize/> </map:match> @@ -84,6 +93,10 @@ <map:matchers default="wildcard"> <map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcherFactory"/> </map:matchers> + + <map:actions> + <map:action name="resource-exists" src="org.apache.cocoon.acting.ResourceExistsAction"/> + </map:actions> </map:components> ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]