A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/xhr/methods/parseFromString below:

parseFromString ยท WebPlatform Docs

parseFromString

Method of apis/xhr/events/loadapis/xhr/events/load

Syntax
var object = object.parseFromString(xmlSource, mimeType);
Parameters xmlSource
Data-type
BSTR

A string that contains serialized XML source code.

mimeType
Data-type
BSTR

A string that identifies one of the following mime types for the source.

Return Value

Returns an object of type DOM NodeDOM Node

IHTMLDocument2

A document object that represents the DOM tree of the XML source.

Examples

To use the parseFromString method, type the following syntax.

oParser =  new DOMParser();
oDocument = oParser.parseFromString(xmlSource, mimeType);
See also Related pages Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4