Documentation
valueOf
usage
string xml->valueOf( string xpath )
paramètres
xpath : path to the node you want to get the value of
retourne
Returns a string which is the value of the node you precised the path as an argument of the function.
exemples
$result = query($NQL);
$xml = new XML($result);
$mediaID = $xml->valueOf("/RESPONSE/RESULTS/MEDIA/@ID");