The example is an xml fragment, can you show one using a real xml file? One with a default namespace declared... It appears if you have: <library xmlns="http://www.perlmonks.org/xml/example/library"> </library> Then what would the xpath queries look like?

In reply to Re: Stepping up from XML::Simple to XML::LibXML by chovy
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":