Does anyone know how to parse this XML using JQuery or Javascript?
I tried using $.parseXML, but I’m not able to get each field.
<a:response xmlns:a="WM">
<a:addresslist>
<a:item>
<a:DN>Doe, John </a:DN>
<a:PH>+1 (111) 212-2381</a:PH>
<a:OF>345 Ave, Floor 2</a:OF>
<a:TL>Technical Specialist</a:TL>
<a:CP>Businessname</a:CP>
<a:AN>JDoe</a:AN>
<a:EM>John.Doe@testemail</a:EM>
</a:item>
</a:addresslist>
</a:response>
Try this:
Example @: http://jsfiddle.net/Cybernate/tf2z2/1/