code: protected static String getXpath(Map<String, Collection<AttributeBean>> attributeMap) {
          StringBuilder sb = new StringBuilder();
          getXpath(attributeMap, sb);
          return sb.toString();
      }
docs: Creates an XPath query from the attributes
  @param attributeMap attributes from request
  @return String