MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / _collapse

Function _collapse

thirdparty/prettyprint/prettyprint.py:43–48  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

41 minidom.Node.toprettyxml = _toprettyxml_node
42
43def _collapse(node):
44 for child in node.childNodes:
45 if child.nodeType == Node.TEXT_NODE and len(child.data.strip()) == 0:
46 child.data = ''
47 else:
48 _collapse(child)
49
50def _writexml_text(self, writer, indent="", addindent="", newl=""):
51 minidom._write_data(writer, "%s"%(self.data.strip()))

Callers 1

_toprettyxml_nodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…