You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2005/09/28 08:02:15 UTC

svn commit: r292135 - /cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap

Author: antonio
Date: Tue Sep 27 23:02:04 2005
New Revision: 292135

URL: http://svn.apache.org/viewcvs?rev=292135&view=rev
Log:
Fix sitemap. Now it handles pages with an empty/non-empty namespace in the same matcher.

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap
URL: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap?rev=292135&r1=292134&r2=292135&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap (original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap Tue Sep 27 23:02:04 2005
@@ -53,6 +53,9 @@
          <map:parameter name="prefix" value="//*[@label='"/>
          <map:parameter name="suffix" value="']/@href"/>
          -->
+       </map:transform>
+       <!-- For the pages that have a non empty default namespace -->
+       <map:transform type="linkrewriter" src="cocoon:/linkmap">
          <map:parameter name="namespace-uri" value="http://www.w3.org/1999/xhtml"/>
        </map:transform>
        <map:serialize/>