DomXsltStylesheet->process()
DomXsltStylesheet->process - Applies the XSLT-Transformation on a DomDocument Object
Syntax
DomDocument DomXsltStylesheet->process (
DomDocument $xml_doc,
array $xslt_params,
bool $is_xpath_param,
string $profile_filename)
Arguments
- xml_doc - The XML document being transformed, as a DomDocumentobject.
- xslt_params - An associative array that takes pairs of parameter names and values.
- is_xpath_param - 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.
- profile_filename - Set this to the path of a filename, if you want profiling information.
Description
Applies an XSLT Transformation on the given DomDocumentobject.
Version
PHP 4.1.0
Return value
Returns the result of the processing, as a DomDocumentobject.