I create a string which contain XML code. From this string how can I get the values?
Here is the string
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <result>
        <country>India</country>
        <pincode>700001</pincode>
        <paymode>Prepaid</paymode>
        <service>Yes</service>
    </result>
I want value of service,payment,pincode.
 
    