Hi,

just try a <map:match pattern="**"> at the end of your sitemap.
This match matches always and if you put it at the end
it is only invoked when no other match is found.

Carsten

> -----Original Message-----
> From: Max Larsson [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, November 14, 2001 11:18 AM
> To: 'Cocoon Dev'
> Subject: Extending Sitemap funtionality
> 
> 
> Hi to all,
> 
> i am searching a functionality in C2, which i haven't found.
> What i want to have is a "default match element". What i mean
> is if C2 gets a request, it matchs the URi agaisnt all defined
> matchers, if it find a matching one it is excuted. But if C2
> do not find a matching one my application now returns a 
> blank page, which i don't want to have. I want that C2 executes
> a defined match element, whenever it do not find any matching
> ones.
> Now i wondering if i just missed such a functionality in C2.
> If not where do i start? I took a look in the sitemap.xsl, but
> how the genrated Java class works is still a little bit unclaer.
> Any hints would be nice ??
> 
> 
> Max
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

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

Reply via email to