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

Method getElementsByTagName

Lib/xml/dom/minidom.py:867–873  ·  view source on GitHub ↗

Returns all descendant elements with the given tag name. Returns the list of all descendant elements (not direct children only) with the specified tag name.

(self, name)

Source from the content-addressed store, hash-verified

865 return (namespaceURI, localName) in self._attrsNS
866
867 def getElementsByTagName(self, name):
868 """Returns all descendant elements with the given tag name.
869
870 Returns the list of all descendant elements (not direct children
871 only) with the specified tag name.
872 """
873 return _get_elements_by_tagName_helper(self, name, NodeList())
874
875 def getElementsByTagNameNS(self, namespaceURI, localName):
876 return _get_elements_by_tagName_ns_helper(

Callers 7

handleSlideshowFunction · 0.45
handleSlideFunction · 0.45
handleTocFunction · 0.45
testDocRemoveChildMethod · 0.45
test_cdata_parsingMethod · 0.45

Calls 2

NodeListClass · 0.85