startNodeNr = startNode.nodeNr;
currentNodeNr = startNodeNr;
tree = startNode.tree;
pendingEndEvents = 0;
startAtDocument = (kind == Type.DOCUMENT);
NamespaceDeclarationsImpl nsDeclarations = new NamespaceDeclarationsImpl();
nsDeclarations.setNamePool(startNode.getNamePool());
}