Saves the contact content into an XML element.
Namespace: MindFusion.Scheduling
File: Contact.js
SyntaxJavaScript
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.
ExampleThe following code gets the XML representation of a contact.
JavaScript
Copy Code
|
|---|
| var xmldoc = contact.saveToXml(); |
See Also