DomProcessingInstruction->target
DomXsltStylesheet->result_dump_file
DOM XML (PHP 4) Funkcje
PHP Manual

# DomXsltStylesheet->process

(PHP 4 >= 4.1.0)

DomXsltStylesheet->process — Applies the XSLT-Transformation on a DomDocument Object

### Opis

DomXsltStylesheet
DomDocument process ( DomDocument `$xml_doc` [, array `$xslt_params` [, bool `$is_xpath_param` [, string `$profile_filename` ]]] )

Applies an XSLT Transformation on the given DomDocument object.

### Parametry

`xml_doc`

  The XML document being transformed, as a DomDocument object.

`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.

  > Informacja: 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.

### Zwracane wartości

Returns the result of the processing, as a DomDocument object.

### Migrating to PHP 5

Use XSLTProcessor::setParameter() and XSLTProcessor::transform-to-doc().

### Rejestr zmian

Wersja | Opis
--- | ---
4.3.0 | The `profile_filename` parameter was added.

### Zobacz też:

- domxml_xslt_stylesheet() - Creates a DomXsltStylesheet object from an XSL document in a string
- domxml_xslt_stylesheet_file() - Creates a DomXsltStylesheet Object from an XSL document in a file
- domxml_xslt_stylesheet_doc() - Creates a DomXsltStylesheet Object from a DomDocument Object

DomProcessingInstruction->target
DomXsltStylesheet->result_dump_file
DOM XML (PHP 4) Funkcje
PHP Manual