Home > PHP > Function > XSLT (PHP4) > xslt_set_encoding()

xslt_set_encoding()

xslt_set_encoding - Set the encoding for the parsing of
XMLdocuments

Syntax

xslt_set_encoding (resource $xh, string $encoding)

Arguments

  • xh - The XSLTprocessor link identifier, created with xslt_create().
  • encoding - An output encoding, e.g iso-8859-1.

Description

Set the output encoding for the XSLTtransformations. When using the Sablotronbackend, this option is only available when you compile Sablotronwith encoding support.

Version

PHP 4.0.5

Return value

No value is returned.