child.setGID(lastChildID()); ownerDocument.broker.insertAfter(last, child);
((NodeImpl)child).setGID(lastChildID()); ownerDocument.broker.insertAfter(last, (NodeImpl)child); return child;
	public void appendChild(NodeImpl child) throws DOMException {		NodeImpl last = (NodeImpl) getLastChild();		++children;		int level = ownerDocument.getTreeLevel(gid);		if (ownerDocument.getTreeLevelOrder(level + 1) < children)			ownerDocument.setTreeLevelOrder(level + 1, children);		child.setGID(lastChildID());		ownerDocument.broker.insertAfter(last, child);	}