1XML::LibXML::SAX::BuildUesre(r3)Contributed Perl DocumenXtMaLt:i:oLnibXML::SAX::Builder(3)
2
3
4

NAME

6       XML::LibXML::SAX::Builder - Building DOM trees from SAX events.
7

SYNOPSIS

9         my $builder = XML::LibXML::SAX::Builder->new();
10
11         my $gen = XML::Generator::DBI->new(Handler => $builder, dbh => $dbh);
12         $gen->execute("SELECT * FROM Users");
13
14         my $doc = $builder->result();
15

DESCRIPTION

17       This is a SAX handler that generates a DOM tree from SAX events. Usage
18       is as above. Input is accepted from any SAX1 or SAX2 event generator.
19
20       Building DOM trees from SAX events is quite easy with
21       XML::LibXML::SAX::Builder. The class is designed as a SAX2 final han‐
22       dler not as a filter!
23
24       Since SAX is strictly stream oriented, you should not expect anything
25       to return from a generator. Instead you have to ask the builder
26       instance directly to get the document built.
27       XML::LibXML::SAX::Builder's result() function holds the document gener‐
28       ated from the last SAX stream.
29

AUTHORS

31       Matt Sergeant, Christian Glahn, Petr Pajas,
32

VERSION

34       1.62
35
37       2001-2006, AxKit.com Ltd; 2002-2006 Christian Glahn; 2006 Petr Pajas,
38       All rights reserved.
39
40
41
42perl v5.8.8                       2006-11-17      XML::LibXML::SAX::Builder(3)
Impressum