code: JavaXmlQuery compile(XPath xpath) {
          try {
              this.expression = xpath.compile(getQuery());
          } catch (XPathExpressionException e) {
              LOGGER.error("Cannot compile XPath query: " + getQuery(), e);
          }
          return this;
      }
docs: Adds a compiled expression to the query
  
  @param expression
  @return