domxml_xslt_stylesheet

Creates a DomXsltStylesheet object from an XSL document in a string

&reftitle.description; `DomXsltStylesheet` `domxml_xslt_stylesheet` `string` `xsl_buf`

Creates a `DomXsltStylesheet` object from the given XSL buffer.

&reftitle.parameters;

`xsl_buf`

- The XSL document, as a string.

&reftitle.returnvalues;

Returns a new instance of `DomXsltStylesheet`.

## Migrating to PHP 5

Call `XSLTProcessor::importStylesheet` with `DOMDocument::loadXML($xsl_buf)` as parameter.

&reftitle.seealso;

- function.domxsltstylesheet-process
- `domxml_xslt_stylesheet_file`
- `domxml_xslt_stylesheet_doc`