cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r292135 - /cocoon/branches/BRANCH_2_1_X/src/blocks/linkrewriter/samples/bookdemo/sitemap.xmap
Date Wed, 28 Sep 2005 06:02:15 GMT
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/>



Mime
View raw message