The XSLTProcessor class
(PHP 5, PHP 7)
简介
类摘要
XSLTProcessor {
/* 方法 */
}
属性/方法 列表
- XSLTProcessor::__construct — Creates a new XSLTProcessor object
- XSLTProcessor::getParameter — Get value of a parameter
- XSLTProcessor::getSecurityPrefs — Get security preferences
- XSLTProcessor::hasExsltSupport — Determine if PHP has EXSLT support
- XSLTProcessor::importStylesheet — Import stylesheet
- XSLTProcessor::registerPHPFunctions — Enables the ability to use PHP functions as XSLT functions
- XSLTProcessor::removeParameter — Remove parameter
- XSLTProcessor::setParameter — Set value for a parameter
- XSLTProcessor::setProfiling — Sets profiling output file
- XSLTProcessor::setSecurityPrefs — Set security preferences
- XSLTProcessor::transformToDoc — Transform to a DOMDocument
- XSLTProcessor::transformToUri — Transform to URI
- XSLTProcessor::transformToXml — Transform to XML
用户贡献的笔记
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 用法 手册 | 示例代码