I have following xml in string variable-\[code\] <?xml version="1.0" encoding="UTF-8" standalone="yes"?><person> <first-name>RaJeEv(??)</first-name> <last-name>Diboliya</last-name> <headline>Software Engineer at FASTTRACK INDIA.</headline> <site-standard-profile-request> <url>http://www.linkedin.com/profile?viewProfile=&url> </site-standard-profile-request></person>\[/code\]Now I want to get first and last name from this string. How can I do this?