The XML I am reading looks like this:
The Big Bang Theory http://www.tvrage.com/The_Bi
After you have correctly load the xml file using the SimpleXML objecto you can do a print_r($xml_variable) and you can easily find which attributes you can access. As other users said $xml['id'] also worked for me.
print_r($xml_variable)
$xml['id']