Error parsing XML List
Error parsing XML List
Hi,
I'm trying to parse an XML list the way it is shown in the Zoho documentation. Here is my code:
mapvar = getUrl("http://xxxxxxxxxxxx");
xmldata = mapvar.toXML();
strdata = xmldata.executeXPath("/root/value/items");
xmllist = strdata.toXmlList();
for each thing in xmllist
{
datestring = thing.executeXPath("/items/date/text()");
}
When I execute, it gives me an error when it gets to the last line. This is the error:
Execution Failed
Error details:
Error occured while executing the script.
Unable to update variable
datestring
What am I doing wrong? Is there a better way to parse through each "items" XML tag?
Tout forum
France ZUGs
Lille
Paris
Nantes
Lyon
Toulouse
Topic Participants
info
Vishnu Kumar
Shadow Fight
Nouveautés produits
Chaîne YouTube
Résumé des activités
Témoignages client
Gagner en efficacité