/** * BORROWED from Xerces impl. Cloning a NamedNodeMap is a DEEP OPERATION; it always clones all * the nodes contained in the map. */ public NamedNodeMapImpl cloneMap(NodeImpl ownerNode) { AttributeMap newmap = new AttributeMap((ParentNode) ownerNode); newmap.hasDefaults(hasDefaults()); newmap.cloneContent(this); return newmap; } // cloneMap():AttributeMap