DOMParser can parse XML or HTML source stored in a string into a DOM Document. DOMParser is specified in DOM Parsing and Serialization.

Documentation DOMParser by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (prin:Dynamic, ?documentURI:Dynamic, ?baseURI:Dynamic)

new ()

Throws:

null

DOMError

Methods

parseFromString (str:String, type:SupportedType):HTMLDocument

Throws:

null

DOMError