Skip to main content
DOMParser object

Provides a method to convert an XML string to nodes in a Document Object Model (DOM) tree.

Members

The DOMParser object has these types of members:

Methods

The DOMParser object has these methods.

MethodDescription
parseFromString

Creates an instance of a document that contains a DOM tree from a string of serialized XML source.

 

Standards information

There are no standards that apply here.

Remarks

To create an instance of the DOMParser object, use the following syntax.


oParser =  new DOMParser();

See also

parseFromString