Getting a value from xml returned by a WS



I have a WS



( http://ift.tt/1tVYrjg ) that returns an xml with only 1 value: True or false:




<Data>true</Data>
or
<Data>false</Data>


how can i get the value in to a variable in Javascript? high level: string X = xmlfile.value what is the correct syntax?


Thanks.


No comments:

Post a Comment