Takes a string, runs an XPath query on it, and returns the contents of the results.