public static void assertXpathEvaluatesTo ( String expectedValue , String xpathExpression , InputSource control ) throws SAXException , IOException , XpathException { Document document = XMLUnit . buildControlDocument ( control ) ; assertXpathEvaluatesTo ( expectedValue , xpathExpression , document ) ; }
Assert the value of an Xpath expression in an XML document .