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 Regular expression for directory generator.
Date Sat, 23 May 2009 03:25:03 GMT
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