I am working with the xml below is xml
<message xml="Local:client" type="message" to="123456@Local" from="147852369/a02c9bb1"><GET xml="http://Local.org/protocol/message"></GET></message>
Now how to get the value of "to"?.I tried with below code. But it is showing null value
[message elementForName:@"to" xml:@"Local:client"];
Please any body help me.