Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by GrandFather (Sage)
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?
NodeReaper gets the Vote Fairy drunk

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2017-11-20 05:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (284 votes). Check out past polls.

    Notices?