code: public static void transformMessage(String strXMLIn, String strXMLOut, String strTransformer)
      {
          try {
              Reader reader = new FileReader(strXMLIn);
  
              Writer stringWriter = new FileWriter(strXMLOut);
              
              Reader readerxsl = new FileReader(strTransformer);
  
              Utility.transformMessage(reader, stringWriter, readerxsl);
          } catch (IOException ex)    {
              ex.printStackTrace();
          }                    
      }
docs: Use XSLT to convert this source tree into a new tree.
  @param result If this is specified, transform the message to this result (and return null).
  @param source The source to convert.
  @param streamTransformer The (optional) input stream that contains the XSLT document.
  If you don't supply a streamTransformer, you should override getTransforerStream() method.
  @return The new tree.