• Parameters

    • input: string

      an SVG as a string

    • mimeType: string = "text/xml"

      default to XML, for SVG use "image/svg+xml".

    Returns Element

    the document element or null if unsuccessful.

    Description

    Parse a string into an XML Element