PHPWales 2020 - June 3rd to June 4th

XSLTProcessor クラス

(PHP 5, PHP 7)

はじめに

クラス概要

XSLTProcessor {
/* メソッド */
getParameter ( string $namespaceURI , string $localName ) : string
public XsltProcessor::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 XsltProcessor::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
4 years ago
It requires PHP5 XSL extension. On linux:

sudo apt-get install php5-xsl
To Top