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

Function xml

tests/unitutil/cxml.py:37–41  ·  view source on GitHub ↗

Return the XML generated from `cxel_str`.

(cxel_str: str)

Source from the content-addressed store, hash-verified

35
36
37def xml(cxel_str: str) -> str:
38 """Return the XML generated from `cxel_str`."""
39 root_token = root_node.parseString(cxel_str)
40 xml = root_token.element.xml
41 return xml
42
43
44# ====================================================================

Calls

no outgoing calls