XML::Handler::Dtd2Html - SAX2 handler for generate a HTML documentation from a DTD
use XML::SAX::Expat; use XML::Handler::Dtd2Html; $handler = XML::Handler::Dtd2Html->new(); $parser = XML::SAX::Expat->new(Handler => $handler); $parser->set_feature("http://xml.org/sax/features/external-general-entities", 1); $doc = $parser->parse( [OPTIONS] ); $doc->GenerateHTML( [PARAMS] );
All comments before a declaration are captured.
All entity references inside attribute values are expanded.
Francois Perrad, francois.perrad@gadz.org
dtd2html.pl
(c) 2002-2003 Francois PERRAD, France. All rights reserved.
This program is distributed under the Artistic License.
To install XML::Handler::Dtd2Html::Document, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::Handler::Dtd2Html::Document
CPAN shell
perl -MCPAN -e shell install XML::Handler::Dtd2Html::Document
For more information on module installation, please visit the detailed CPAN module installation guide.