node = insertAfter(attribs, lastAttrib);
node = appendChildren(firstChildID() + 1, this, getPath(), attribs, true);
	public Node appendAttributes(NodeList attribs) throws DOMException {	    DocumentImpl prevDoc = new DocumentImpl(ownerDocument);	    Node node = null;		if (children == 0) {		    // no children: append a new child		    node = appendChildren(firstChildID(), this, getPath(), attribs, true);		} else {		    NodeImpl lastAttrib = getLastAttribute();		    if(lastAttrib.gid == lastChildID())		        node = appendChildren(lastChildID() + 1, lastAttrib, getPath(), attribs, true);		    else		        node = insertAfter(attribs, lastAttrib);		}		ownerDocument.broker.update(this);		ownerDocument.broker.reindex(prevDoc, ownerDocument, null);		return node;	}