// Add the line number
formatLineNumber(++lineNumber);
// Now "reopen" the elements that we closed...
while (!tempStack.empty()) {
StartElementInfo elem = (StartElementInfo) tempStack.pop();
AttributeCollection attr = (AttributeCollection)elem.getAttributes();
AttributeCollection newAttr = new AttributeCollection(namePool);
for (int acount = 0; acount < attr.getLength(); acount++) {