Mark Lowe schrieb:

Hello,

> Here's the stuff in my sitemap.xmap should i need anything else?
>
> <map:transformer name="encodeURL"
> src="org.apache.cocoon.transformation.EncodeURLTransformer" />
> ....
> <map:match pattern="display">
> <map:generate src="menuDoc.xml"/>
> <map:transform type="i18n">
> <map:parameter name="locale" value="{request:locale}" />
> </map:transform>
>
> <map:transform src="menu.xsl">
> <map:parameter name="selected-menu" value="'foo'" />
> </map:transform>

> <map:transform type="encodeURL" />

This is (imho) the only thing you need if the transformer is already 
defined (i.e. main sitemap).

> <map:serialize type="html"/>
> </map:match>

Looks good to me.

Christoph

Attachment: pgpEiYx1tXbEI.pgp
Description: PGP signature

Reply via email to