in reply to XML::Hash fromDOMtoHash

Try this instead of the raw print:

print $results->toString;

I am no XSLT expert by any means, but I don't recognize what test:match_names is supposed to be doing. Also, you don't seem to account for the <list> layer of the xml.

1 Peter 4:10