Simplified interface to XML::Parser