Since this posting, I've been playing with other alternatives to XML::XPath, some of those suggested here like XML::LibXML.  However, I'm still not getting my core problem resolved.  So, let me restate my question and ask that my original code and question be set aside for the moment.

What module or modules do I use to grab directly data from the PM Newest Node XML Generator link to be able to process it, to be able to pick out the elements that I want?  And can someone give me a strip-down sample of what the code for that task might look like?

It seems that I've worked out what to do with the data once I get it in my script's possession as a straight XML document.  I just don't understand what I need to do to get it that way from this XML generator link.  Do I need to use something like XML::Parser or some other parser module to get the data and to have it put it in a format like the one my web browser so easily created?  I'm looking for some sample code of the piece I'm missing, as well as an explanation of the concept piece I'm missing, to fill in the missing piece of my sanity.  Thanks.

-Spenser

That's Spenser, with an "s" like the detective.


In reply to Retrieving Remote XML Data by Spenser
in thread Using XPath to Retrieve Remote XML Data by Spenser

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.