in reply to parsing XML fragments (xml log files) with XML::Parser
If you can guarantee that there are no logentry elements nested in logentry elements then you can use a simple top level parser to pull logentry elements out as XML documents which XML::Parser would be happy with. The overall document wouldn't be a conformant XML document, but each logentry could be.
True laziness is hard work
|
---|
In Section
Seekers of Perl Wisdom