karthika pommudu

karthika pommudu

  • NA
  • 321
  • 34.3k

How to get Xml to json value...

Mar 5 2019 5:06 AM
Here,I need to this xml values in array - javascript..Thanks by advance...
 
 
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<ADDGetLiveDataResponse xmlns="http://ADDtech.org/">
<ADDGetLiveDataResult>
<Latitude>8.857230</Latitude>
<Longitude>78.057277</Longitude>
<PositionTime>05/Mar/2019 12:41:17 PM</PositionTime>
<Speed>0.00</Speed>
<ACC>Off</ACC>
<PositionType>No Gps</PositionType>
<Direction>North</Direction>
<Battery>100%</Battery>
<GSMStrength>Strong Signal</GSMStrength>
<PowerStatus>Power Connected</PowerStatus>
</ADDGetLiveDataResult></ADDGetLiveDataResponse>
</soap:Body></soap:Envelope>

Answers (2)