I'm getting xml response from web service as follows:-
<ns2:errorList xmlns:ns2="http://www.abc.com/api/def/V1">
<error code="DOMAIN_VALIDATE" path="address.zip">
<message>invalid</message>
</error>
<error code="DOMAIN_VALIDATE" path="address.city">
<message>empty</message>
</error>
</ns2:errorList>
I want this to be in json format using jquery or javascript. Don't want to touch the web service for this. Please help.