When creating an attribute node using createAttribute() or
createAttributeNS(), use the parallel setAttributeNode() or setAttributeNodeNS() to add the node to the document -- do not assume that setAttributeNode() will operate properly for both.
F
Fred Drake committed
6526bf863eff2ef78465ba90d19a280d6657bddf
Parent: 5e0dfac