Francois Perrad

NAME

XML::Handler::Dtd2DocBook - SAX2 handler for generate a DocBook documentation from a DTD

SYNOPSIS

  use XML::SAX::Expat;
  use XML::Handler::Dtd2DocBook;

  $handler = new XML::Handler::Dtd2DocBook;

  $parser = new XML::SAX::Expat(Handler => $handler);
  $parser->set_feature("http://xml.org/sax/features/external-general-entities", 1);
  $doc = $parser->parse( [OPTIONS] );

  $doc->GenerateDocBook( [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

dtd2db.pl

COPYRIGHT

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

This program is distributed under the Artistic License.