NAME

Data::DPath::Builder - SAX handler for building an XPath tree

SYNOPSIS

use AnySAXParser;
use Data::DPath::Builder;

$builder = Data::DPath::Builder->new();
$parser = AnySAXParser->new( Handler => $builder );

$root_node = $parser->parse( Source => [SOURCE] );

DESCRIPTION

Data::DPath::Builder is a SAX handler for building an Data::DPath tree.

Data::DPath::Builder is used by creating a new instance of Data::DPath::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.

AUTHOR

Ken MacLeod, <ken@bitsko.slc.ut.us>

SEE ALSO

perl(1), Data::DPath(3)

PerlSAX.pod in libxml-perl

Extensible Markup Language (XML) <http://www.w3c.org/XML>