1XML::XPath::Builder(3)User Contributed Perl DocumentationXML::XPath::Builder(3)
2
3
4
6 XML::XPath::Builder - SAX handler for building an XPath tree
7
9 use AnySAXParser;
10 use XML::XPath::Builder;
11
12 $builder = XML::XPath::Builder->new();
13 $parser = AnySAXParser->new( Handler => $builder );
14
15 $root_node = $parser->parse( Source => [SOURCE] );
16
18 "XML::XPath::Builder" is a SAX handler for building an XML::XPath tree.
19
20 "XML::XPath::Builder" is used by creating a new instance of
21 "XML::XPath::Builder" and providing it as the Handler for a SAX parser.
22 Calling `"parse()"' on the SAX parser will return the root node of the
23 tree built from that parse.
24
26 Ken MacLeod, <ken@bitsko.slc.ut.us>
27
29 perl(1), XML::XPath(3)
30
31 PerlSAX.pod in libxml-perl
32
33 Extensible Markup Language (XML) <http://www.w3c.org/XML>
34
35
36
37perl v5.32.0 2020-07-28 XML::XPath::Builder(3)