Allow XPath queries to extract attributes