Reference

dtdtree(1)

generate a tree view of an SGML Document Type Definition (DTD)

NAME

dtdtree — generate a tree view of an SGML Document Type Definition (DTD)

SYNOPSIS

dtdtree [options ] < file

DESCRIPTION

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 dtdtree is doing. This option is mainly for debugging purposes.

SEE ALSO

dtd2html (1), dtddiff (1), dtdview (1), and stripsgml (1). These commands, as well as perlSGML's library of Perl modules for parsing of the SGML DTD's are documented fully by The perlSGML Manual (link to URL http://www.oac.uci.edu/indiv/ehood/perlSGML/doc/html/perlSGML.html) .

AUTHOR

This manual page was written by Susan G. Kleinmann [email protected] for the Debian GNU/Linux system (but may be used by others).

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license can be found under /usr/share/common-licenses/FDL.

History

-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).