XPath xpath = getXPath(path, namespaces, functions, variables);
Object obj = xpath.selectSingleNode(base);
if (obj instanceof OMAttribute) obj = new FOMAttribute((OMAttribute) obj);
return obj;
} catch (JaxenException e) {
throw new XPathException(e);
}
}