PHP 7.4.0RC4 Released!

Класс XSLTProcessor

(PHP 5, PHP 7)

Введение

Обзор классов

XSLTProcessor {
/* Методы */
getParameter ( string $namespaceURI , string $localName ) : string
public getSecurityPrefs ( void ) : int
hasExsltSupport ( void ) : bool
public importStylesheet ( object $stylesheet ) : bool
registerPHPFunctions ([ mixed $restrict ] ) : void
removeParameter ( string $namespaceURI , string $localName ) : bool
setParameter ( string $namespace , string $name , string $value ) : bool
setProfiling ( string $filename ) : bool
public setSecurityPrefs ( int $securityPrefs ) : int
transformToURI ( DOMDocument $doc , string $uri ) : int
transformToXml ( object $doc ) : string
}

Содержание

add a note add a note

User Contributed Notes 2 notes

up
2
tschallacka
3 years ago
uncomment extension=php_xsl.dll on windows to activate it in your php.ini. Then restart your webserver to refresh php.
up
2
flavius
3 years ago
It requires PHP5 XSL extension. On linux:

sudo apt-get install php5-xsl
To Top