Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Help parsing XML

by ferrency (Deacon)
on Jan 29, 2002 at 02:24 UTC ( [id://142207]=note: print w/replies, xml ) Need Help??


in reply to Help parsing XML

I agree with the XML::Twig suggestion. You can use XML::Twig in tree-mode style or event-mode style. I first started using it tree-mode but quickly realized that event-mode made at least as much sense for my own application.

If you're using this in a persistant situation, where one perl interpreter will be parsing Many XML documents before dying, be aware that older versions of XML::Twig had a memory leak associated with circular references in internal perl structures. This is fixed in the latest stable version if you have WeakRef installed, and there's a workaround available on the XML::Twig website if you need to use an older version.

Have fun,
Alan

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-26 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found