DOMParser: DOMParser() constructor


目录

The DOMParser() constructor creates a new DOMParser object. This object can be used to parse the text of a document using the parseFromString() method.

Syntax

new DOMParser()

Parameters

None.

Return value

A new DOMParser object. This object can be used to parse the text of a document using the parseFromString() method.

Specifications

Browser compatibility


版本号 #3
由 壳壳虫 创建于 2026-10-31 03:27:53 UTC
由 cocobook-sync 更新于 2026-11-04 17:34:07 UTC