Saves the contact content into an XML element.
Namespace: MindFusion.Scheduling
File: Contact.js
JavaScript Copy Code |
---|
function saveToXml (element, context) |
Element. An XML DOM element that will contain the contact's data.
XmlPersistContext. An object providing contextual information about the serialization process and some helper serialization methods.
The following code gets the XML representation of a contact.
JavaScript Copy Code |
---|
var xmldoc = contact.saveToXml(); |