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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to