|
PHP5中文手册
XSLTProcessor::setParameter(No version information available, might be only in CVS) XSLTProcessor::setParameter — Set value for a parameter 说明XSLTProcessor
bool setParameter
( string $namespace
, string $name
, string $value
)
XSLTProcessor
bool setParameter
( string $namespace
, array $options
)
Sets the value of one or more parameters to be used in subsequent transformations with XSLTProcessor. If the parameter doesn't exist in the stylesheet it will be ignored. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Changing the owner before the transformation
<?php |