manpagez: man pages & more
man XML::LibXML::SAX::Generator(3)
Home | html | info | man
XML::LibXML::SAX::Generator(3)




NAME

       XML::LibXML::SAX::Generator - Generate SAX events from a LibXML tree


SYNOPSIS

         my $handler = MySAXHandler->new();
         my $generator = XML::LibXML::SAX::Generator->new(Handler => $handler);
         my $dom = XML::LibXML->new->parse_file("foo.xml");

         $generator->generate($dom);


DESCRIPTION

       THIS CLASS IS DEPRECATED! Use XML::LibXML::SAX::Parser instead!

       This helper class allows you to generate SAX events from any
       XML::LibXML node, and all it's sub-nodes. This basically gives you
       interop from XML::LibXML to other modules that may implement SAX.

       It uses SAX2 style, but should be compatible with anything SAX1, by use
       of stringification overloading.

       There is nothing to really know about, beyond the synopsis above, and a
       general knowledge of how to use SAX, which is beyond the scope here.



perl v5.24.2                      2017-10-24    XML::LibXML::SAX::Generator(3)

xml-libxml 2.13.100 - Generated Fri Oct 27 15:04:34 CDT 2017
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.