cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauricio Souza Lima <maurici...@terra.com.br>
Subject Re: sitemap.xmap question
Date Tue, 08 Jan 2002 16:45:00 GMT
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
mauriciosl@terra.com.br
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message