toxml

This topic describes the syntax and usage of the toxml function in Zoho Creator

Description

The toxml function returns the formated string from the given xml and xpath

Syntax

<string>.toxml()

where,

<string> to be converted to xml format

Return Value

Returns the xml from the given string.

Example

resp = postUrl("https://creator.zoho.com/api/xml/applications/", loginDet);
xmlString = resp.toXML();