(PHP 5)
XSLTProcessor::__construct — Creates a new XSLTProcessor object
Creates a new XSLTProcessor object.
This function has no parameters.
Эта функция не возвращает значения после выполнения.
Пример #1 Creating an XSLTProcessor
<?php$doc = new DOMDocument();$xsl = new XSLTProcessor();$doc->load($xsl_filename);$xsl->importStyleSheet($doc);$doc->load($xml_filename);echo $xsl->transformToXML($doc);?>