this.nodeNumber = 1; this.document = newDoc;
if (newDoc != document) {  this.nodeNumber = 1; this.document = newDoc; }
    public void deepCopy() throws DOMException {    	DocumentImpl newDoc = document.expandRefs(this);    	this.nodeNumber = 1;    	this.document = newDoc;    }