in reply to XML::SAX::ExpatXS - stop parsing?
An alternative to the SAX API is the 'Pull' parser API as implemented in XML::LibXML::Reader. This API is well suited to the pattern of stopping the parse when you've found what you want.
In Section
Seekers of Perl Wisdom