cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Olson <...@myadguys.com>
Subject RE: two subsitemaps
Date Tue, 26 Aug 2003 20:53:50 GMT
thanks all.  the solution we used was a combination of reorganization and
the resource-exists action

    <map:match pattern="*/*/*"> <!-- domain/page/action -->
      <map:act type="resource-exists">
        <map:parameter name="url" value="c:/mag/xsl/{1}/{2}.xmap"/>
        <!-- mount domain-specific sitemap -->
        <map:mount check-reload="yes" src="c:/mag/xsl/{1}/{2}.xmap"
uri-prefix="{1}/{2}"/>
      </map:act>
      <!-- otherwise mount default sitemap -->
      <map:mount check-reload="yes" src="c:/mag/xsl/common/{2}.xmap"
uri-prefix=""/>
    </map:match>

 


Mime
View raw message