cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour Al Akeel <mansour.alak...@gmail.com>
Subject Re: Regular expression for directory generator.
Date Sat, 23 May 2009 04:10:33 GMT
Ok, let's put it this way. When I use the include parameter with the
directory generator, the depth is reset to 1 no matter what I do. Is
this a bug, or an undocumented feature ? :)



On Sat May 23,2009 12:25 am, Mansour Al Akeel wrote:
> I need to generate a list of directories and xhtml files. I need to
> include only directory that has an file called "index.xhtml". If it
> doesn't have this file, this it shoud be ignored.
> 
> I am able to genrate a listing of the xhtml files but not the
> directories:
> 
> <map:generate type="xpathdirectory" src="${site.contents.directory}/{1}">
>     <map:parameter name="depth" value="2"/>
>     <map:parameter name="include" value="\*/\.xhtml$"/>
>     <map:parameter name="xpath" value="/html/head/title"/>
>     <map:parameter name="xmlFiles" value="\.xhtml$"/>
> </map:generate>
> 
> 
> Any ideas ? 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message