Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: parsing XML fragments (xml log files) with XML::Parser

by GrandFather (Cardinal)
on Mar 18, 2011 at 00:15 UTC ( #893880=note: print w/ replies, xml ) Need Help??


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


Comment on Re: parsing XML fragments (xml log files) with XML::Parser

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://893880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2014-11-21 02:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (104 votes), past polls