* @exception XPathExpressionException If the given XPath has an error
*/
public String getXPathValue(String xPath) throws XPathExpressionException {
if (xPathInstance == null) {
XPathFactory xf = XPathFactory.newInstance();
FabanNamespaceContext nsCtx = new FabanNamespaceContext();
xPathInstance = xf.newXPath();
xPathInstance.setNamespaceContext(nsCtx);
}
return xPathInstance.evaluate(xPath,
agentThread.driverConfig.rootElement);