The <directory> tag

<directory> shows all underlying directories. It's like a table of contents.

For each directory entry, Corbon searches for an index.xml file. It includes the name and description in the generated XHTML.

Attributes

The <directory> tag has no attributes.

Todo

Nested directory listings by giving a "level" attribute.

Example

Imagine a directory containing the 'alpha', 'beta', and 'gamma' folders, each containing (at least) an index.xml file. This directory also contains a file, toc.xml, that contains:

<directory/>

The resulting toc.html will contain:

Alpha: The Alpha Centauri Institute
Beta: Beta versions of our software
Gamma: The effects of Gamma radiation

See Also