cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reinhard Haller" <reinhard.hal...@interactive-net.de>
Subject Antw: Re: RequestURI in aggregation page
Date Thu, 04 Aug 2005 13:47:27 GMT


>>> jdwilliams@austin.rr.com 03.08.2005 22:36 >>>
Mark Lundquist wrote:
>So, the ideal thing would be a sitemap matcher like the following:
>
>      <map:match pattern="*">
>        <map:generate src="aggregate.xml"/>
>        <map:transform type="cinclude"/>
>        <map:transform src="../index.xsl"/>
>        <map:serialize type="html"/>
>      </map:match>
>
A simple way might be:

      <map:match pattern="*">
        <map:generate src="aggregate.xml"/>
        <map:transform src="substitute-url.xsl">
            <map:parameter name="url" value="{1}" />
        </map:transform>
        <map:transform type="cinclude"/>
        <map:transform src="../index.xsl"/>
        <map:serialize type="html"/>
      </map:match>

and substitute REQUESTED URL in aggregate.xml with a very
simple xsl.

Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message