Vaduvoiu Tiberiu wrote:
> in my parent sitemap I have
>
> <map:match pattern="*/*/*/*">
>   <map:mount check-reload="yes" uri-prefix="{1}/{2}/{3}" 
> src="{3}/sitemap.xmap" />
> </map:match>
>
> and in my sub-sitemap I have:
>
> <map:match pattern="home.htm">
>   <map:aggregate element="root" label="source">
>     <map:part element="menu" src="cocoon:/{../1}/{../2}/menu.xml"/>
>   </map:aggregate>

You can't access sitemap parameters across sitemaps.


I can see two solutions to your problem:

1) take off that  uri-prefix="{1}/{2}/{3}"  from the mount command and
modify all matchers of all sub-sitemaps to deal with the extra URL
components;

or

2) modify that particular matcher in the sub-sitemap to match agaist the
full request URI, which you can get for example with {request:requestURI}

The first solution seems more "correct", but of course it depends on
your particular sitemap layout.

Also I don't know exactly how to do the latter point.
I'd wager there is a matcher somewhere that you can use with input
modules (the {request:...} thing is an input module.)


Tobia

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to