XML::LibXML::SAX
XML::LibXML::SAX(3) User Contributed Perl Documentation XML::LibXML::SAX(3)
NAME
XML::LibXML::SAX - XML::LibXML direct SAX parser
DESCRIPTION
XML::LibXML provides an interface to libxml2 direct SAX interface.
Through this interface it is possible to generate SAX events directly
while parsing a document. While using the SAX parser XML::LibXML will
not create a DOM Document tree.
Such an interface is useful if very large XML documents have to be
processed and no DOM functions are required. By using this interface
it is possible to read data stored within a XML document directly into
the application data structures without loading the document into mem-
ory.
The SAX interface of XML::LibXML is based on the famous XML::SAX
interface. It uses the generic interface as provided by
XML::SAX::Base.
Additionally to the generic functions, which are only able to process
entire documents, XML::LibXML::SAX provides parse_chunk(). This method
generates SAX events from well balanced data such as is often provided
by databases.
NOTE: At the moment XML::LibXML provides only an incomplete interface
to libxml2’s native SAX implementation. The current implementation is
not tested in production environment. It may causes significant memory
problems or shows wrong behaviour. If you run into specific problems
using this part of XML::LibXML, let me know.
AUTHORS
Matt Sergeant, Christian Glahn, Petr Pajas
VERSION
1.66
COPYRIGHT
2001-2007, AxKit.com Ltd; 2002-2006 Christian Glahn; 2006-2008 Petr
Pajas, All rights reserved.
perl v5.8.8 2008-11-11 XML::LibXML::SAX(3)