docs: public void compose(OutputStream stream, Resource resource, boolean htmlPretty)  throws IOException {
  		XMLWriter writer = new XMLWriter(stream, "UTF-8");
  		writer.setPretty(style == OutputStyle.PRETTY);
  		writer.start();
  		compose(writer, resource, htmlPretty);
  		writer.end();
  	}