cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Сергей <>
Subject Depth in DirectoryGenerator
Date Tue, 16 Jul 2002 04:20:58 GMT
Hi All,

I try to use DirectoryGenerator to create dynamic directory list. In
documentation said,
it's possible to set arbitrary depth of directory recursion. For example, I
have set depth to 5:

           <map:match pattern="directory.xml">
              <map:generate type="directory" src="model" depth="5"/>
              <map:serialize type="xml"/>

But it does not work, I always receive flat list, even if the subdirectory
is not empty:

<?xml version="1.0" encoding="UTF-8" ?>
 <dir:directory name="model" lastModified="1025423302000" date="30.06.02
11:48" requested="true" xmlns:dir="">
  <dir:directory name="rdf" lastModified="1025791300000" date="04.07.02
18:01" />
  <dir:file name="entry.xml" lastModified="1026028080000" date="07.07.02
11:48" />
  <dir:file name="map.xml" lastModified="1026409374000" date="11.07.02
21:42" />

I will appreciate any help.

Best Regards,
Serge Chernokozinsky

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message