The XSLTProcessor class
(PHP 5, PHP 7, PHP 8)
简介
类摘要
class XSLTProcessor
{
/* 属性 */
/* 方法 */
}属性
- 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.
更新日志
版本 | 说明 |
---|---|
8.4.0 | The properties doXInclude and cloneDocument are now explicitly defined on the class. |
8.4.0 | Added properties maxTemplateDepth and maxTemplateVars. |
目录
- 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::registerPHPFunctionNS — Register a PHP function as namespaced XSLT function
- 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 document
- XSLTProcessor::transformToUri — Transform to URI
- XSLTProcessor::transformToXml — Transform to XML
+添加备注
用户贡献的备注 3 notes
tschallacka ¶
8 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 ¶
4 years ago
[Update] PHP version /.3.15 and Windows Uncomment `extension=xsl` to activate it in your php.ini. Then restart your webserver to refresh php.