dtdtree1
Generate a tree view of an sgml document type definition (dtd)
Usage
dtdtree [options]
<
file
Overview
dtdtree is a filter which expects an SGML DTD on STDIN and sends a tree view of an SGML DTD to STDOUT. Unlike dtd2html, the output of dtdtree is plain text, rather than a navigable hypertext document.
dtdtree is one of a suite of tools available in the perlSGML package, which together help one inspect, study, and edit if necessary, an SGML Document Type Definitions (DTD). The package was written by Earl Hood ([email protected]).
This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the HTML format; see below.
Options
This program takes the following command-line options:
-
-catalog file -
Use file to map public identifiers and external entities to system files.
-
-dtd file -
Parse the DTD named by file. Otherwise, read from STDIN.
-
-help -
Print a brief usage description. No other action is performed.
-
-level # -
Set the prune level of the content hierarchy tree to #. Defaults to 15.
-
-treefile file -
Output element content tree(s) to file rather than STDOUT.
-
-verbose -
Ouput to standard error messages of what
dtdtreeis doing. This option is mainly for debugging purposes.
History
- Debian 5.0 (Lenny) to Debian 3.1 (Sarge): the text shown here
- Debian 3.0 (Woody)
- Debian 2.2 (Potato) to Debian 2.1 (Slink)
-catalog since Debian 3.0 (Woody);
-dtd since Debian 3.0 (Woody);
-help since Debian 3.0 (Woody);
-level since Debian 3.0 (Woody);
-treefile since Debian 3.0 (Woody);
-verbose since Debian 3.0 (Woody).
--help until Debian 2.2 (Potato);
--version until Debian 2.2 (Potato);
-h until Debian 2.2 (Potato);
-v until Debian 2.2 (Potato).