1:<?php 2: 3:// What are the XML and XSL files? 4:$xmlFile = "student_directory.xml"; 5:$xslFile = "student_html.xsl"; 6: 7:// Create a new processor handle 8:$transformer = @xslt_create() or die("Can't create XSLT handle!"); 9: 10:// Perform the XSL transformation 11:$results = @xslt_process($transformer, $xmlFile, $xslFile); 12: 13:// Output the transformed XML file 14:echo $results; 15: 16:// Free up the resources 17:@xslt_free($transformer); 18: 19:?>