vgritsenko 01/07/28 14:56:57 Modified: webapp.site sitemap.xmap Log: - fix sitewebapp's sitemap - add javadoc pipelines Revision Changes Path 1.5 +14 -4 xml-cocoon2/webapp.site/sitemap.xmap Index: sitemap.xmap =================================================================== RCS file: /home/cvs/xml-cocoon2/webapp.site/sitemap.xmap,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- sitemap.xmap 2001/07/20 10:59:35 1.4 +++ sitemap.xmap 2001/07/28 21:56:57 1.5 @@ -31,8 +31,8 @@ <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:parameter name="url" value="context://style/{1}2document.xsl"/> + <map:transform src="style/{../1}2document.xsl"/> </map:act> <map:serialize/> </map:match> @@ -40,8 +40,8 @@ <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:parameter name="url" value="context://style/{1}2document.xsl"/> + <map:transform src="style/{../1}2document.xsl"/> </map:act> <map:serialize/> </map:match> @@ -57,6 +57,16 @@ <map:match pattern="images/*.png"> <map:read src="resources/images/{1}.png" mime-type="image/png"/> </map:match> + +<!-- Javadocs --> +<map:match pattern="apidocs/**.html"> + <map:read src="content/javadocs/{1}.html" mime-type="text/html"/> +</map:match> + +<map:match pattern="apidocs/**.css"> + <map:read src="content/javadocs/{1}.css" mime-type="text/css"/> +</map:match> + <map:handle-errors> <map:transform src="style/system/error2html.xsl"/> ---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]