The XSLTProcessor class
(PHP 5)
Introduction
Class synopsis
XSLTProcessor
{
/* Methods */
}Table of Contents
- XSLTProcessor::__construct — Creates a new XSLTProcessor object
- XSLTProcessor::getParameter — Get value of a parameter
- XsltProcessor::getSecurityPrefs — Get security preferences
- XSLTProcessor::hasExsltSupport — Determine if PHP has EXSLT support
- XSLTProcessor::importStylesheet — Import stylesheet
- XSLTProcessor::registerPHPFunctions — Enables the ability to use PHP functions as XSLT functions
- XSLTProcessor::removeParameter — Remove parameter
- XSLTProcessor::setParameter — Set value for a parameter
- XSLTProcessor::setProfiling — Sets profiling output file
- XsltProcessor::setSecurityPrefs — Set security preferences
- XSLTProcessor::transformToDoc — Transform to a DOMDocument
- XSLTProcessor::transformToUri — Transform to URI
- XSLTProcessor::transformToXML — Transform to XML
Коментарии
It requires PHP5 XSL extension. On linux:
sudo apt-get install php5-xsl
uncomment extension=php_xsl.dll on windows to activate it in your php.ini. Then restart your webserver to refresh php.
[Update] PHP version /.3.15 and Windows Uncomment `extension=xsl` to activate it in your php.ini. Then restart your webserver to refresh php.