How can I parse my XML response to JSON in angular.
That's my response:
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/"><?xml version="1.0" encoding="utf-8"?>
<FeratelDsiRS xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Status="0" Message="OK" xmlns="XXXXX">
<Result Index="1">
<Events>
.....
</Events>
</Result>
</FeratelDsiRS></string>