Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70

parseFromString

Description

Parse a string into a standard DOM Document.

Basic Example: 

Code Block
var parser = new DOMParser();
var document = parser.parseFromString('<config><test attr="value" /></config>');

Parameters

Name

Required

Type

Default

Description

xml

Yes

string

String containing valid XML.