MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / getElement

Method getElement

vulnerabilities/lib_oval.py:832–837  ·  view source on GitHub ↗

Get the raw xml.etree.ElementTree.Element for this node. Can be used to directly manipulate the XML in ways not currently supported by this library

(self)

Source from the content-addressed store, hash-verified

830 return localname.rsplit("_", 1)[0]
831
832 def getElement(self):
833 """
834 Get the raw xml.etree.ElementTree.Element for this node. Can be used to directly manipulate the
835 XML in ways not currently supported by this library
836 """
837 return self.element
838
839 def getName(self):
840 """

Callers 2

writeToFileMethod · 0.95
addElementMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected