public void createTagStart (String tagName) throws DocumentBuilderException {
XMLNode currentNode = peek ();
if (currentNode instanceof Document ||
currentNode instanceof Element) {
Element element = new Element (tagName);
currentNode.addChild (element);
push (element);
} else {
throw new DocumentBuilderException (
"Elements not allowed here.");