docx-validate
    Preparing search index...

    Function parseXml

    • Parse an XML string into a DOM Document. Mirrors the Python defusedxml.minidom.parseString(text) shape.

      Throws on malformed input. The error message is preserved (xmldom emits detailed line/column info in the message body).

      Parameters

      • text: string

      Returns Document