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?