1XML::LibXML::SAX(3) User Contributed Perl Documentation XML::LibXML::SAX(3)
2
3
4
6 XML::LibXML::SAX - XML::LibXML direct SAX parser
7
9 XML::LibXML provides an interface to libxml2 direct SAX interface.
10 Through this interface it is possible to generate SAX events directly
11 while parsing a document. While using the SAX parser XML::LibXML will
12 not create a DOM Document tree.
13
14 Such an interface is useful if very large XML documents have to be pro‐
15 cessed and no DOM functions are required. By using this interface it is
16 possible to read data stored within a XML document directly into the
17 application datastructures without loading the document into memory.
18
19 The SAX interface of XML::LibXML is based on the famous XML::SAX inter‐
20 face. It uses the generic interface as provided by XML::SAX::Base.
21
22 Additionally to the generic functions, which are only able to process
23 entire documents, XML::LibXML::SAX provides parse_chunk(). This method
24 generates SAX events from well ballanced data such as is often provided
25 by databases.
26
27 NOTE: At the moment XML::LibXML provides only an incomplete interface
28 to libxml2's native SAX implementaion. The current implementation is
29 not tested in production environment. It may causes significant memory
30 problems or shows wrong behaviour. If you run into specific problems
31 using this part of XML::LibXML, let me know.
32
34 Matt Sergeant, Christian Glahn, Petr Pajas,
35
37 1.62
38
40 2001-2006, AxKit.com Ltd; 2002-2006 Christian Glahn; 2006 Petr Pajas,
41 All rights reserved.
42
43
44
45perl v5.8.8 2006-11-17 XML::LibXML::SAX(3)