PHP - Manual: XSLTProcessor::removeParameter
2024-11-14
(PHP 5, PHP 7, PHP 8)
XSLTProcessor::removeParameter — Remove parameter
$namespace
, string $name
): boolRemoves a parameter, if set. This will make the processor use the default value for the parameter as specified in the stylesheet.
namespace
The namespace URI of the XSLT parameter.
name
The local name of the XSLT parameter.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/xsltprocessor.removeparameter.php