PHP
XML

XSLTProcessor (class)

XSLTProcessor类

介绍

(PHP 5, PHP 7)

类简介

XSLTProcessor {

/* 方法 */

string getParameter ( string $namespaceURI , string $localName )

public int XsltProcessor::getSecurityPrefs ( void )

bool hasExsltSupport ( void )

public bool importStylesheet ( object $stylesheet )

void registerPHPFunctions ([ mixed $restrict ] )

bool removeParameter ( string $namespaceURI , string $localName )

bool setParameter ( string $namespace , string $name , string $value )

bool setProfiling ( string $filename )

public int XsltProcessor::setSecurityPrefs ( int $securityPrefs )

DOMDocument transformToDoc ( DOMNode $doc )

int transformToURI ( DOMDocument $doc , string $uri )

string transformToXML ( object $doc )

}

目录

  • XSLTProcessor :: __ construct - 创建一个新的XSLTProcessor对象

  • XSLTProcessor :: getParameter - 获取参数的值

  • XsltProcessor :: getSecurityPrefs - 获取安全性首选项

  • XSLTProcessor :: hasExsltSupport - 确定PHP是否具有EXSLT支持

  • XSLTProcessor :: importStylesheet - 导入样式表

  • XSLTProcessor :: registerPHPFunctions - 允许将PHP函数用作XSLT函数

  • XSLTProcessor :: removeParameter - 删除参数

  • XSLTProcessor :: setParameter - 设置参数的值

  • XSLTProcessor :: setProfiling - 设置分析输出文件

  • XsltProcessor :: setSecurityPrefs - 设置安全性首选项

  • XSLTProcessor :: transformToDoc - 转换为DOMDocument

  • XSLTProcessor :: transformToUri - 转换为URI

  • XSLTProcessor :: transformToXML - 转换为XML

← Error handling with libxml error handling functions

XSLTProcessor::__construct →