code: public static Node nodeFromXPath(Document parsedXml, String path) {
  		XPath xPath = XPathFactory.newInstance().newXPath();
  		try {
  			return (Node) xPath.evaluate(path, parsedXml.getDocumentElement(),
  					XPathConstants.NODE);
  		}
  		catch (XPathExpressionException exception) {
  			LOG.error("Incorrect xpath provided: " + path, exception);
  			throw new IllegalArgumentException();
  		}
  	}
docs: Helper method to retrieve XML {@link Node} with provided xPath.
  @param parsedXml - a {@link Document} object with parsed XML content
  @param path - the xPath expression to retrieve the value with
  @return XML {@link Node} object
  @since 2.1.0