Phone API Reference - Classes - DOMParser - parseFromString

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: 

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

 

Parameters

Name

Required

Type

Default

Description

Name

Required

Type

Default

Description

xml

Yes

string

 

String containing valid XML.

 

Return to Documentation Home I Return to Sangoma Support