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         use XML::LibXML::SAX::Builder;
10         my $builder = XML::LibXML::SAX::Builder->new();
11
12         my $gen = XML::Generator::DBI->new(Handler => $builder, dbh => $dbh);
13         $gen->execute("SELECT * FROM Users");
14
15         my $doc = $builder->result();
16

DESCRIPTION

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

AUTHORS

32       Matt Sergeant, Christian Glahn, Petr Pajas
33

VERSION

35       2.0132
36
38       2001-2007, AxKit.com Ltd.
39
40       2002-2006, Christian Glahn.
41
42       2006-2009, Petr Pajas.
43

LICENSE

45       This program is free software; you can redistribute it and/or modify it
46       under the same terms as Perl itself.
47
48
49
50perl v5.26.3                      2017-10-28      XML::LibXML::SAX::Builder(3)
Impressum