MCPcopy Index your code
hub / github.com/python/cpython / createElementNS

Method createElementNS

Lib/xml/dom/minidom.py:1726–1730  ·  view source on GitHub ↗
(self, namespaceURI, qualifiedName)

Source from the content-addressed store, hash-verified

1724 return a
1725
1726 def createElementNS(self, namespaceURI, qualifiedName):
1727 prefix, localName = _nssplit(qualifiedName)
1728 e = Element(qualifiedName, namespaceURI, prefix)
1729 e.ownerDocument = self
1730 return e
1731
1732 def createAttributeNS(self, namespaceURI, qualifiedName):
1733 prefix, localName = _nssplit(qualifiedName)

Callers 15

testRemoveAttrNSMethod · 0.95
testGetAttributeMethod · 0.95
testGetAttributeNSMethod · 0.95
OtFunction · 0.80
BtFunction · 0.80
d3.min.jsFile · 0.80
ttFunction · 0.80
ntFunction · 0.80
ttFunction · 0.80
ntFunction · 0.80

Calls 2

_nssplitFunction · 0.85
ElementClass · 0.70

Tested by 4

testRemoveAttrNSMethod · 0.76
testGetAttributeMethod · 0.76
testGetAttributeNSMethod · 0.76