}
final XMLElement elt = prototype.createElement(null, systemID, lineNr);
elt.setContent(str.toString());
if (!stack.empty()) {
final XMLElement top = (XMLElement) stack.peek();
top.addChild(elt);
}
}
/**
* This method is called when the attributes of an XML element have been