toxml

本节介绍 Zoho Creator 中的 toxml 函数的语法和使用。

描述

toxml 函数从给定 xml 和 xpath 返回格式化字符串

语法

<string>.toxml()

其中,

<string> 要转换为 xml 格式

返回值

从给定字符串返回 xml。

示例

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