PHPKonf Istanbul PHP Conference 2019 - Call for Papers

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 note add a note

User Contributed Notes 2 notes

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

sudo apt-get install php5-xsl
To Top