}
public static boolean evalExpression(OMElement el, String path, String ns)
throws Exception {
AXIOMXPath xpathe = formatXPath(path, ns);
return xpathe.booleanValueOf(el);
}
private static AXIOMXPath formatXPath(String path, String ns)
throws Exception {
if (!path.startsWith("//")) {