prevNode = attrib;
setPrevious(attrib);
    private void storeAttributes(int nodeNr, ElementImpl elem, NodePath path) throws DOMException {        int attr = doc.alpha[nodeNr];        if(-1 < attr) {            while (attr < doc.nextAttr && doc.attrParent[attr] == nodeNr) {                QName qn = (QName)doc.namePool.get(doc.attrName[attr]);                AttrImpl attrib = new AttrImpl(qn, doc.attrValue[attr]);                attrib.setOwnerDocument(targetDoc);                elem.appendChildInternal(prevNode, attrib);                prevNode = attrib;                broker.storeNode(transaction, attrib, path);                ++attr;            }        }    }