I have someNode and I'd like to do XPath on it like this:
XPath xpath = XPathFactory.newInstance().newXPath();
XPathExpression expr = xpath.compile("//name");
Object result = expr.evaluate(SOMETHING_ELSE, XPathConstants.NODE);
How can I turn someNode to SOMETHING_ELSE and do my XPath?