Data XML

<?php
$xmldata = simplexml_load_file("employees.xml") or die("Failed to load");
foreach($xmldata->children() as $empl) {         
 echo $empl->firstname . ", ";     
 echo $empl->lastname . ", ";     
 echo $empl->designation . ", ";        
 echo $empl->salary . "<\n>"; 
} 
?>
Maverick