cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Stimmel <jon-li...@stimmel.net>
Subject Re: DirectoryGenerator.java
Date Wed, 24 May 2000 22:14:13 GMT
On Wed, May 24, 2000 at 01:06:08AM +0200, Stefano Mazzocchi wrote:

> Can you send us the DTD that results, or, at least, a sample document?

I intend to write a DTD, but haven't yet. Here's a sample, where
the depth is set to "2":

  <directory name="startDir" lastModified="959205940"
             date="Wed May 24 15:05:40 2000">

    <file name="file3"  lastModified="959206113"
          date="Wed May 24 15:08:33 2000"/>

    <directory name="subdir" lastModified="959206150"
               date="Wed May 24 15:09:10 2000">

      <file name="this" lastModified="959206237"
            date="Wed May 24 15:10:37 2000"/>

      <file name="that" lastModified="959206243"
            date="Wed May 24 15:10:43 2000"/>

      <directory name="other" lastModified="959206320"
                 date="Wed May 24 15:12:00 2000"/>

    </directory>

    <file name="file1" lastModified="959206132"
          date="Wed May 24 15:08:52 2000"/>

  </directory>

(Whitespace added by me. Unlike the original generator, mine
does not try to "format" the xml by adding newlines and spaces).

Mime
View raw message