dtdtree(1)

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 (ehood@medusa.acs.uci.edu).

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 per
formed.
-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 sgk@debian.org 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.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout