(PHP 4 >= 4.1.0)
DomXsltStylesheet->process — Applies the XSLT-Transformation on a DomDocument Object
Applies an XSLT Transformation on the given DomDocument object.
The XML document being transformed, as a DomDocument object.
An associative array that takes pairs of parameter names and values.
If set to FALSE the values of the xslt_params will be quoted. This is the default behavior. It allows you to pass the values as PHP strings.
Note:
If your strings contains both single and double quotes, you must take care of quoting all the values by yourself and set this parameter to TRUE.
Set this to the path of a filename, if you want profiling information.
Returns the result of the processing, as a DomDocument object.
Use XSLTProcessor::setParameter() and XSLTProcessor::transform-to-doc().
版本 | 说明 |
---|---|
4.3.0 | The profile_filename parameter was added. |