public boolean xpath(String xpath) throws Exception {
JAXPBooleanXPathExpression expression = new JAXPBooleanXPathExpression(xpath);
if (this.namespaceContext != null) {
expression.setNamespaceContext(this.namespaceContext);
}
Boolean b = (Boolean) expression.evaluate(null, message);
return b.booleanValue();
}
public String valueOf(String xpath) throws Exception {
JAXPStringXPathExpression expression = new JAXPStringXPathExpression(xpath);