总有人间一两风,填我十万八千梦

PHP XSLTProcessor 用法 手册 | 示例代码

PHP开发手册 归档 1029℃ 0评论

The XSLTProcessor class

(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

}

属性/方法 列表

用户贡献的笔记

flavius

It requires PHP5 XSL extension. On linux:

sudo apt-get install php5-xsl

tschallacka

uncomment extension=php_xsl.dll on windows to activate it in your php.ini. Then restart your webserver to refresh php.

转载请注明:悠然品鉴 » PHP XSLTProcessor 用法 手册 | 示例代码

喜欢 (3)or分享 (0)
发表我的评论
取消评论

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址