Retrieves a result string from an XPATH query. Null if not found.