Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Phone API Reference - Classes - XMLSerializer

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.

  • No labels