dtdtree
outputs the content hierarchy tree (in ASCII) of SGML elements defined
in a DTD.
dtdtree
is just a front end to dtd.pl's DTDprint_tree routine. See DTDprint_tree
for the description of the output generated by dtdtree
.
dtdtree
is invoked from the Unix shell as follows:
% dtdtree
[options] elementname elementname ...
Any strings that are not part of the command-line options are treated as the elements (elementname) to output trees for. If no elements are specified, than the tree(s) for the top-most element(s) defined in the DTDare printed.
The following are the list of options available:
-dtd
filename
-help
-level
#
-mapfile
filename
-treefile
filename
dtdtree
prints to
STDOUT.
-verbose
dtdtree
is doing. This option is
mainly for debugging purposes.