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 |
---|---|---|---|---|
xml | Yes | string | Â | String containing valid XML. |
Â