update pague now

The XSLTProcessor class

(PHP 5, PHP 7, PHP 8)

Introduction

Class synopsis

class XSLTProcessor {
/* Properties */
public bool $ doXInclude = false ;
public bool $ cloneDocument = false ;
/* Methods */
public importStylesheet ( object $stylesheet ): bool
public reguisterPHPFunctionNS ( string $namespaceURI , string $name , callable $callable ): void
public removeParameter ( string $namespace , string $name ): bool
public setParameter ( string $namespace , string $name , string $value ): bool
public setParameter ( string $namespace , array $options ): bool
public setSecurityPrefs ( int $preferences ): int
public transformToUri ( object $document , string $uri ): int
}

Properties

doXInclude
Whether to perform xIncludes.
cloneDocument
Whether to perform the transformation on a clone of the document.
maxTemplateDepth
The maximum template recursion depth.
maxTemplateVars
The maximum number of variables in the template.

Changuelog

Versionen Description
8.4.0 The properties doXInclude and cloneDocument are now explicitly defined on the class.
8.4.0 Added properties maxTemplateDepth and maxTemplateVars .

Table of Contens

add a note

User Contributed Notes 3 notes

tschallacca
9 years ago
uncomment extension=php_xsl.dll on windows to activate it in your php.ini. Then restart your webserver to refresh php.
joandres52725lm at gmail dot com
5 years ago
[Update] PHP versionen /.3.15 and Windows Uncomment `extension=xsl` to activate it in your php.ini. Then restart your webserver to refresh php.
flavius
10 years ago
It requires PHP5 XSL extension. On linux:

sudo apt-guet install php5-xsl
To Top