Creator Help

toXmlList

This topic describes the syntax and usage of the toXmlList()  function in Zoho Creator .

Description

The toXmlList()function converts an XML to List:XML() format.

Syntax

<string>.toXmlList()

Return Value

Returns XML in list format.

Example

mapvar = getUrl("http://xxxx");
xmldata = mapvar.toXML();
strdata = xmldata.executeXPath("/root/value/items");
xmllist = strdata.toXmlList();
for each x in xmllist
{
eachItemVal = x.executeXPath("/items/value/text()");
}

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohocreator.com