View on
MetaCPAN
Francois Perrad > XML-Handler-Dtd2Html-0.42 > XML::Handler::Dtd2Html

Download:
XML-Handler-Dtd2Html-0.42.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.42   Source  

NAME ^

XML::Handler::Dtd2Html - SAX2 handler for generate a HTML documentation from a DTD

SYNOPSIS ^

  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] );

DESCRIPTION ^

All comments before a declaration are captured.

All entity references inside attribute values are expanded.

AUTHOR ^

Francois Perrad, francois.perrad@gadz.org

SEE ALSO ^

dtd2html.pl

COPYRIGHT ^

(c) 2002-2003 Francois PERRAD, France. All rights reserved.

This program is distributed under the Artistic License.

syntax highlighting: