code: public void xslt(Transformer transformer, Node dest) throws IOException, TransformerException {
          try (InputStream in = newInputStream();
               OutputStream out = dest.newOutputStream()) {
              transformer.transform(new StreamSource(in), new StreamResult(out));
          }
      }
docs: -- other