Hi Mike, Try using the ResourceExists Action... Se the examples...
Regards... > Mike Ahlers wrote: > > > Hi list, > > I am new to Cocoon and I am getting my hands dirty already. I love it, > but have a question or problem that puzzles me. > Is it possible to configure the sitemap that when it encounters a > 'directory-call' like ../righthere/ i.e. requests with a trailing > slash that FIRST a check is made to see if there is a file present, > lets say index.xml, and IF it is, it would transform that index file > rather than displaying the directory structure? > > From browsing through the source I found this: > > <map:match pattern="**/"> > <map:generate type="directory" src="{1}"/> > <map:transform src="stylesheets/system/directory2html.xsl"/> > <map:serialize/> > </map:match> > In my eyes, it should be possible to tamper with this but I have no > idea how. Thanks in advance, > > Mike > > -- Mauricio Souza Lima Rational Consulting [EMAIL PROTECTED] Rua Helena, 140 / cj. 82 São Paulo - SP - Brazil Fone / Direct: +55 11 3842-7138 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>