In this case "media" is a namespace, so is "live". 
The XML should have some lines above the ones you posted defining those
Try something like this:

$simplexml = simplexml_load_string(...your entire xml...);
$url0 = $simplexml->xpath( '//media:content' );         
$url = $url0[0]->attributes()->url;
$title = $simplexml->xpath( '//media:title' );          
research simplexml, xpath, and namespaces.
Good Luck
View this message in context:
Sent from the PHP - General mailing list archive at

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to