if (reader.getEventType() == reader.START_ELEMENT &&
"Body".equals(reader.getLocalName())) {
// Copy the body contents to a StreamDataHandler
reader.nextTag();
XMLStreamWriterImpl xmlWriter = new XMLStreamWriterImpl(out, false);
StaxUtil.copyReaderToWriter(reader, xmlWriter);