http://www.perlmonks.org?node_id=894033


in reply to Re: parsing XML fragments (xml log files) with XML::Parser
in thread parsing XML fragments (xml log files) with XML::Parser

Thanks, parse_balanced_chunk was what I was looking for. But since I already wrote the stream parser handlers, I'm going to go with the suggestion a top-level parser to wrap it in a root element.