|
@@ -694,6 +694,8 @@ if 1: |
|
|
prefix, tag = xml.dom.minidom._nssplit(attr.nodeName) |
|
|
prefix, tag = xml.dom.minidom._nssplit(attr.nodeName) |
|
|
if prefix == 'xmlns': |
|
|
if prefix == 'xmlns': |
|
|
a = clone.getAttributeNodeNS(attr.namespaceURI, tag) |
|
|
a = clone.getAttributeNodeNS(attr.namespaceURI, tag) |
|
|
|
|
|
elif prefix: |
|
|
|
|
|
a = clone.getAttributeNodeNS(attr.namespaceURI, tag) |
|
|
else: |
|
|
else: |
|
|
a = clone.getAttributeNodeNS(attr.namespaceURI, attr.nodeName) |
|
|
a = clone.getAttributeNodeNS(attr.namespaceURI, attr.nodeName) |
|
|
a.specified = attr.specified |
|
|
a.specified = attr.specified |
|
|