The XSLTProcessor class
Введение
Description of the class.
Class synopsis
XSLTProcessor
class XSLTProcessor
{
/* Methods */
string
getParameter
( string $namespaceURI
, string $localName
)
bool
hasExsltSupport
( void
)
bool
removeParameter
( string $namespaceURI
, string $localName
)
bool setParameter
( string $namespace
, string $name
, string $value
)
}Содержание
- XSLTProcessor::__construct — Creates a new XSLTProcessor object
- XSLTProcessor::getParameter — Get value of a parameter
- 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::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.