stack.getFirst().appendChild(textNode);
} else if (event == CDATA) {
CDATASection cdataSection = document.createCDATASection(getText());
stack.getFirst().appendChild(cdataSection);
} else if (event == COMMENT) {
Comment comment = document.createComment(getText());
stack.getFirst().appendChild(comment);
} else if (event == SPACE) {
} else if (event == START_DOCUMENT) {
} else if (event == END_DOCUMENT) {
} else if (event == PROCESSING_INSTRUCTION) {