Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Easily XML filtering?

by mr_mischief (Monsignor)
on May 06, 2008 at 18:10 UTC ( [id://685025]=note: print w/replies, xml ) Need Help??


in reply to Easily XML filtering?

If you're using any API that asks specifically for a particular tag by name to get its associated data, then "filtering" is really a passive thing. Just don't ask for the content of tags your app doesn't use.

XML::Simple for example should allow you to grab your file, get the data you need, and simply ignore everything you don't need. Other modules that allow you to extract specific parts of the XML tree should work, too.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-03-19 06:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found