set the xml_parser to inhertit the xpath object.