MCPcopy Index your code
hub / github.com/python-openxml/python-docx / element

Function element

tests/unitutil/cxml.py:31–34  ·  view source on GitHub ↗

Return an oxml element parsed from the XML generated from `cxel_str`.

(cxel_str: str)

Source from the content-addressed store, hash-verified

29
30
31def element(cxel_str: str):
32 """Return an oxml element parsed from the XML generated from `cxel_str`."""
33 _xml = xml(cxel_str)
34 return parse_xml(_xml)
35
36
37def xml(cxel_str: str) -> str:

Calls 2

parse_xmlFunction · 0.90
xmlFunction · 0.85

Used in the wild real call sites across dependent graphs

searching dependent graphs…