}
else {
ByteArrayOutputStream buffer = new ByteArrayOutputStream();
Result result = new StreamResult(buffer);
transformer.transform(in.getContent(), result);
out.setContent(new BytesSource(buffer.toByteArray()));
}
}
/**
* Should we disable output of the result of the XSLT?