public parseFromString(xml as String) as DomDocument throws DOMException:
Parses XML from a string.
Parsed XML document.
document = DOMParser().parseFromString("<root/>")