Hello,
I',ve this XML that i receive from a WS response:
var resp="<PreviousExamDate xmlns="http://ift.tt/VO0tYv;
<string>18-09-2014</string>
<string>10-09-2014</string>
</PreviousExamDate>";
I convert it to a XML object:
var xml= new XML(resp.toString());
for each(var p in xml..PreviousExamDate)
{
txt=p..string;
}
I', tryin to do a foreach to get the <string> tag value! I try 1000 ways to do it but i just can't get it!!!! Can some one help please...
Thanks
I',ve this XML that i receive from a WS response:
var resp="<PreviousExamDate xmlns="http://ift.tt/VO0tYv;
<string>18-09-2014</string>
<string>10-09-2014</string>
</PreviousExamDate>";
I convert it to a XML object:
var xml= new XML(resp.toString());
for each(var p in xml..PreviousExamDate)
{
txt=p..string;
}
I', tryin to do a foreach to get the <string> tag value! I try 1000 ways to do it but i just can't get it!!!! Can some one help please...
Thanks
Porblem doing foreach XML!
0 commentaires:
Enregistrer un commentaire