\n"; //echo "\n"; // Get the noderange $noderange = @$_REQUEST['noderange']; //echo "
noderange=$noderange.
\n"; if (empty($noderange)) { echo "Select one or more groups or nodes for rvitals.
\n"; exit; } $xml = docmd('rvitals',$noderange,array('all')); //echo ""; print_r($xml); echo "
\n"; if (getXmlErrors($xml,$errors)) { echo "rvitals failed: ", implode(' ',$errors), "
\n"; exit; } //echo ""; print_r($xml); echo "
\n"; echo "\n"; foreach ($xml->children() as $response) foreach ($response->children() as $o) { $nodename = (string)$o->name; $data = & $o->data; $contents = (string)$data->contents; $desc = (string)$data->desc; //echo "
"; print_r($data); echo "
\n"; echo "$nodename: $desc: $contents