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.


The <directory> tag has no attributes.


Nested directory listings by giving a "level" attribute.


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:


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