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
15 processed and no DOM functions are required. By using this interface it
16 is possible to read data stored within a XML document directly into the
17 application data structures without loading the document into memory.
18
19 The SAX interface of XML::LibXML is based on the famous XML::SAX
20 interface. 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 balanced 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 implementation. 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.70
38
40 2001-2007, AxKit.com Ltd.
41
42 2002-2006, Christian Glahn.
43
44 2006-2009, Petr Pajas.
45
46
47
48perl v5.12.0 2009-10-07 XML::LibXML::SAX(3)