views:

59

answers:

2

Just as the title asks: are there any XML pull parser implementations in a Perl library?

I looked at XML::TokeParser, but it's nine years old! I'm sure there's something out there that is functional?

+1  A: 

Check out XML::TreePuller - it's a hybrid tree and pull parser that's very convenient to use and also very fast. I created it to power MediaWiki::DumpFile which you can use as a real world example of how to do something with it but it also has quite a bit of documentation.

triddle
A: 

XML::LibXML is a fully featured XML parser library based around the libxml2 C library - so it's really fast. LibXML is typically used via the DOM/XPath API, but it also supports both a SAX API and and a Pull API via XML::LibXML::Reader (which is included in the distribution).

Grant McLean