Greetings, O Wise Monks. I am hopeful that someome here in the Monastary who is better versed in using the XML modules can assist me, as this is my first time dealing with them.

Problem: I am currently using XML::Simple in an automation script that interacts with an XML-based API. However, some of the functionality that I will need to add in next will require a more elegant solution than XML::Simple to manage. I have decided to use XML::LibXML since it allows both DOM and SAX-based functionality. However, when compiling and installing the module, I do not get the Node.pm module, which contains methods like getFirstChild(), to access the data returned by the XML parser. Instead, I get the Nodelist.pm module, and the .pod file for Node.pm.

So my question is, is this a corrupt build of LibXML? Or am I just missing something simple that will build the Node.pm file? Like maybe Node.pm is found in a different XML module?

Since all systems are not created equal, below are the relevant parts of my environment that I'm working with:

Please let me know if you need more information. Any help you can give will be greatly appreciated. Thanks in advance.


In reply to Missing Node.PM in XML::LibXML v1.69 by BluePerlDev

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.