It was not meant as a top-level matcher of course. I use this kind of matcher often at the end of of sitemap to match everything that was not matched before, which seems pretty normal to me. Ofcourse, what Geert says, if you have directories, you would use */**, unless dirs are 2 levels deep etc etc
Anyway, did not pay that much attention to the matcher at all, only pointing out the map:select possibility was my intention AS > > Ard Schrijvers wrote: > > Something like > > > > <map:match pattern="**"> > > <map:select type="resource-exists"> > > <map:when test="{1}/sitemap.xmap"> > > <map:mount src="{1}" uri-prefix="whatever"/> > > </map:when> > > <map:otherwise> > > <map:generate type="directory" src="{1}"/> > > <map:transform src="directory2html.xslt"/> > > <map:serialize type="xhtml"/> > > </map:otherwise> > > </map:select> > > </map:match> > > > > Note that <map:match pattern="**"> is totally useless, as it matches > everything! > > A sitemap does not need to have matchers as top-level instructions. > > Sylvain > > -- > Sylvain Wallez Anyware Technologies > http://people.apache.org/~sylvain http://www.anyware-tech.com > Apache Software Foundation Member Research & Technology Director > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]