public void addCData (String content) throws DocumentBuilderException {
XMLNode currentNode = peek ();
if (currentNode instanceof Document ||
currentNode instanceof Element) {
currentNode.addChild (new CData (content));
} else {
throw new DocumentBuilderException ("CData isn't allowed here.");
}
}