code: public static List<String> getParamListFromLog(
              net.sf.saxon.s9api.DocumentBuilder builder, Document log)
              throws Exception {
          List<String> list = new ArrayList<String>();
          Element starttest = (Element) log.getElementsByTagName("starttest")
                  .item(0);
          for (Element param : DomUtils.getElementsByTagName(starttest, "param")) {
              String value = DomUtils.getElementByTagName(param, "value")
                      .getTextContent();
              list.add(param.getAttribute("local-name") + "=" + value);
          }
          return list;
      }
docs: Returns the parameters to a test from its log document