in reply to Re^2: Parse multiple xml tags with different names to an array
in thread Parse multiple xml tags with different names to an array
Hi, Thank you, but I am unable to figure out my exact requirement from a huge pool of info there in "state of web spidering in perl". Can you specify exactly which matches my req ? Thanks, Bala.
Well, I only link examples in one post, so that one :) and they all match your spec, they're all about extracting "tags" from xml ...
As Corion says, LibXML is one of the best choices available, use xpather.pl on your xml file to get a list of xpaths you can use to extract data you want (or url, but its better to download url to file for testing/development/until you figure stuff out )
examples of extracting "tags" are at Re: Stepping up from XML::Simple to XML::LibXML, Re^5: Parsing xml using libXML, Re: Nested XML Question,
Re: Perl XML Search, Re: Filter for XML elements, Re: hi i want to retrieve the element and values from xml document, Re: XML::Simple XML / XMLin / XMLout? or something else?, Re: Struggling with XML, Re: XML Parsing, Re^6: Is there any XML reader like this? (XML::Simple beats LibXML hands down in the speed stakes!), Re^5: XML::LibXML problem,
https://metacpan.org/module/XML::LibXML::Node, https://metacpan.org/module/XML::LibXML::Element, https://metacpan.org/module/XML::LibXML
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Parse multiple xml tags with different names to an array
by rbala (Acolyte) on Sep 23, 2013 at 11:27 UTC | |
Re^4: Parse multiple xml tags with different names to an array
by rbala (Acolyte) on Sep 25, 2013 at 08:40 UTC | |
by Anonymous Monk on Sep 25, 2013 at 08:44 UTC | |
by rbala (Acolyte) on Sep 25, 2013 at 10:03 UTC |