in reply to Accessing node attribute with XML::XPath

I'd recommend looking at the test files for XML::XPath (these are the t/*.t files listed in the XML::XPath MANIFEST).

This will cover what you need now, what you think you'll need soon and future needs you haven't anticipated.

For more detailed information on XPath, see the W3C Recommendation.

-- Ken