我在字符串变量中有以下 xml-
<?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>
现在我想从这个字符串中获取名字和姓氏。我怎样才能做到这一点?