You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Erik Stunkat <er...@poet.de> on 2001/11/13 17:04:52 UTC

Directory Generator, set depth

Hi,

I want to use Directory Generator to browse through dynamic content.
Therefore I set depth:

<!-- find files for transformation -->
    <map:match pattern="testhtml.html">
    <map:generate type="directory" src="resources/test" depth="5"/> !!!
    <map:transform src="stylesheets/system/directory2html.xsl"/>
    <map:serialize type="html"/>
   </map:match>

in <map:components>

<map:generator  name="directory"
src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/>

Correct?
I get only content from resources/test/...
Is it possible to open folders in /test/... and browse through files?
What is "include" and "exclude"


thanks!

Erik Stunkat
QA
POET Software
Hamburg, Germany
+49(0)40 60990-303
eriks@poet.de


---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>