add support for using at_xpath with parse_text