parent root
PHP: XSLTProcessor - Manual
PHP 7.2.23 Release Announcement

The XSLTProcessor class

(PHP 5, PHP 7)

Introduction

Class synopsis

XSLTProcessor {
/* Methods */
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
}

Table of Contents

add a noteadd 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
parent root