Partially replacing HTML Parser by XPath