1XML::LibXML::SAX::GenerUasteorr(C3o)ntributed Perl DocumXeMnLt:a:tLiiobnXML::SAX::Generator(3)
2
3
4
6 XML::LibXML::SAX::Generator - Generate SAX events from a LibXML tree
7
9 my $handler = MySAXHandler->new();
10 my $generator = XML::LibXML::SAX::Generator->new(Handler => $handler);
11 my $dom = XML::LibXML->new->parse_file("foo.xml");
12
13 $generator->generate($dom);
14
16 THIS CLASS IS DEPRECATED! Use XML::LibXML::SAX::Parser instead!
17
18 This helper class allows you to generate SAX events from any
19 XML::LibXML node, and all it's sub-nodes. This basically gives you
20 interop from XML::LibXML to other modules that may implement SAX.
21
22 It uses SAX2 style, but should be compatible with anything SAX1, by use
23 of stringification overloading.
24
25 There is nothing to really know about, beyond the synopsis above, and a
26 general knowledge of how to use SAX, which is beyond the scope here.
27
28
29
30perl v5.26.3 2017-10-28 XML::LibXML::SAX::Generator(3)