That problem was addressed in a separate thread. I meant to provide a link from here but then I forgot.

Aristotle provided a comprehensive answer in this node.


In reply to Re^3: Stepping up from XML::Simple to XML::LibXML by grantm
in thread Stepping up from XML::Simple to XML::LibXML by grantm

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