Function testXml

  • Check if the input is a valid XML file.

    Parameters

    • xmlStr: string

      The input to be parsed.

    Returns XmlStatus

    If the input valid, return the XML document. If the input is invalid, this returns an HTMLElement explaining the problem.