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?? |
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.
In Section
Seekers of Perl Wisdom
|
|