Documentation
valueOf
usage
string value = Sushee_Shell->valueOf( string xpath )
paramètres
xpath: the path to the node you want the value of.
exemples
include_once('../sushee/common.php');
$shell = new Sushee_Shell();
$shell->addCommand(
'<GET>
<CONTACT ID="1857"/>
</GET>'
);
$shell->execute();
$firstname = $shell->valueOf('/RESPONSE/RESULTS/CONTACT/INFO/FIRSTNAME');
echo $firstname; // prints "Boris"