code: public static String transform(final String inputString) {
          final StringWriter outputWriter = new StringWriter();
  
          // Transform using the default stylesheet.
          final Source xsltSource = new StreamSource(Thread.currentThread().getContextClassLoader().getResourceAsStream(DEFAULT_XSLT_SHEET));
          XmlUtils.transform(new StreamSource(new StringReader(inputString)), xsltSource, new StreamResult(outputWriter));
  
          return outputWriter.toString();
      }
docs: API call to transform a JPDL definition (currently version 3.2) to a BPMN2 definition.
  
  @param inputString
  The input JPDL definition (as an XML {@link String}).
  @return The output BPMN2 definition (as an XML {@link String} as well).