Perlsax handler for building an xml::grove
use PerlSAXParser; use XML::Grove::Builder; $builder = XML::Grove::Builder->new(); $parser = PerlSAXParser->new( Handler => $builder ); $grove = $parser->parse( Source => [SOURCE] );
\*(C`XML::Grove::Builder\*(C' is a PerlSAX handler for building an XML::Grove.
\*(C`XML::Grove::Builder\*(C' is used by creating a new instance of \*(C`XML::Grove::Builder\*(C' and providing it as the Handler for a PerlSAX parser. Calling `\*(C`parse()\*(C'' on the PerlSAX parser will return the grove built from that parse.
Ken MacLeod, [email protected]
perl\|(1), XML::Grove\|(3), PerlSAX.pod
Extensible Markup Language (\s-1XML\s0) <http://www.w3c.org/XML>