Phone API Reference - Classes - XMLSerializer
Desk Phone API features described in this section are deprecated and supported only on the following models: D40, d45, d50, d60, d62, d65, d70
XMLSerializer
Similar to standard XMLSerializer. Used to convert a DOM document into a valid XML string.
Class Constructor
XMLSerializer
Creates a new XMLSerializer object
var serializer = new XMLSerializer(); |
Initialization Parameters
None |
Methods
Name | Description |
---|---|
serializeToString | Serialize a DOM document object to an XML string. Basic Example: var serializer = new XMLSerializer();
var xml = serializer.serializeToString(document); Parameters
Name Required Type Default Description document Yes
DOM document object. |