(PHP 4 >= 4.2.0)
domxml_xslt_stylesheet_file — Creates a DomXsltStylesheet Object from an XSL document in a file
Creates a DomXsltStylesheet object from the given XSL file.
The path to the XSL document, as a string.
Returns a new instance of DomXsltStylesheet.
Call XSLTProcessor::importStylesheet() with DOMDocument::load($xsl_file) as parameter.
Here's is a example for use:
<?php
$xmldoc = domxml_open_file("dom.xml");
$xsldoc = domxml_xslt_stylesheet_file ("dom.xsl");
$result = $xsldoc->process($xmldoc);
print $result->dump_mem();
?>