iya-sts
    Preparing search index...

    Variable parseDocument

    parseDocument: (xml: any) => any = parseDocument

    Type Declaration

      • (xml: any): any
      • Parses XML text into a DOM document, refusing a malformed one rather than returning a partial tree.

        Parameters

        • xml: any

          the document text

        Returns any

        the parsed DOM document

        an IndeterminateError with the syntax-error status when the text is not well-formed or has no root element