setXml("applications.xml"); $xslt->setXsl("tr1.xsl"); if($xslt->transform()) { $ret=$xslt->getOutput(); echo $ret; } else { print("Error:".$xslt->getError()); } ?>