Syntactic Confectionery Delight | |
PerlMonks |
Get data from an XML file headingby nachtmsk (Acolyte) |
on Feb 20, 2020 at 14:43 UTC ( [id://11113248]=perlquestion: print w/replies, xml ) | Need Help?? |
nachtmsk has asked for the wisdom of the Perl Monks concerning the following question:
Hi.
So I have an XML file that I am parsing using XML::LibXML and it's working very nicely. The provider of the data is only returning 250 records initially. In the heading of the XML data is a section that tells how many records are in total, pages available, etc... See code below. It doesn't look like XML to me. Anyone know if if I can get XML::LibXML to get this data out for me. Particularly what I need is "total_pages", "total_records" and "download_key". If not, I guess a RegEx would be the way to go. Working on that now, but if anyone has an elegant suggestion, I'm listening. Thanks, Mike
Back to
Seekers of Perl Wisdom
|
|