I have the following response from a server which is a xml(received/stored in string).
<s:Envelope xml:s='http://sada.soap.org/soap/env/'>
<Body>
<GetResponse xml='http://www.hotmail.msn.com/'>
<GetResult>
X-Originating-IP: [207.46.124.17]X-Originating-Email:X-OriginalArrivalTime: 22 Apr 2011 10:47:04.3513 (UTC) FILETIME=[9E2CE208:01CC00DA]Date: 22 Apr 2011 03:47:04 -0700 X-OIM-Sequence-Num: 2458621X-MSGR SDGML:TWVzcQo=UmFrZXN
</GetResult>
</GetResponse>
</Body>
</s:Envelope>
Now I want to get the attributes of .I guess in the above,the attributes would be
X-Originating-IP,-Originating-Email,X-OIM-Sequence-Num.
I tried using DocumentBuilderFactory, but I could'nt get the attributes value.Can somebody help me with this.