W3cubDocs

/Haxe JavaScript

DOMParser

package js.html

Available on js

The DOMParser interface provides the ability to parse XML or HTML source code from a string into a DOM Document.

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

See also:

Constructor

new()

Throws:

null

DOMError

Methods

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

Throws:

null

DOMError

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMParser.html