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]