}
}
XMLEvent nextEvent = StaxParserUtil.peek(xmlEventReader);
if (nextEvent instanceof Comment) {
Comment commentEvent = (Comment) nextEvent;
Node commentNode = doc.createComment(commentEvent.getText());
commentNode = doc.importNode(commentNode, true);
el.appendChild(commentNode);
} else if (nextEvent.getEventType() == XMLEvent.CHARACTERS) {
Characters characterEvent = (Characters) nextEvent;
String trimmedData = characterEvent.getData().trim();