XML::XPath::Builder - SAX handler for building an XPath tree
use AnySAXParser; use XML::XPath::Builder; $builder = XML::XPath::Builder->new(); $parser = AnySAXParser->new( Handler => $builder ); $root_node = $parser->parse( Source => [SOURCE] );
XML::XPath::Builder is a SAX handler for building an XML::XPath tree.
XML::XPath::Builder
XML::XPath::Builder is used by creating a new instance of XML::XPath::Builder and providing it as the Handler for a SAX parser. Calling `parse()' on the SAX parser will return the root node of the tree built from that parse.
parse()
Ken MacLeod, <ken@bitsko.slc.ut.us>
perl(1), XML::XPath(3)
PerlSAX.pod in libxml-perl
Extensible Markup Language (XML) <http://www.w3c.org/XML>
To install XML::XPath, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::XPath
CPAN shell
perl -MCPAN -e shell install XML::XPath
For more information on module installation, please visit the detailed CPAN module installation guide.