code: @NotNull
      public static XPath createXPath(@Nullable final String... values) {
          final NamespaceContext context = new NamespaceContextMap(values);
          final XPath xPath = XPathFactory.newInstance().newXPath();
          xPath.setNamespaceContext(context);
          return xPath;
      }
docs: Creates a new XPath with a configured namespace context.
  
  @param values
  Pairs of 'prefix' + 'uri'.
  
  @return New instance.