code: private XPath createXPath(final String xpathString) throws JaxenException {
          final XPath xpath = new Dom4jXPath(xpathString);
          xpath.setNamespaceContext(namespaceContext);
          return xpath;
      }
docs: Create a {@link XPath} for the expression {@code xpathString}.
  
  @param xpathString The expression.
  @return The {@link XPath}.
  @throws JaxenException If there was a problem parsing the {@code xpathString} expression.