xslt_set_encoding
(PHP 4 >= 4.0.5)
xslt_set_encoding — Set the encoding for the parsing of XML documents
Описание
void xslt_set_encoding
( resource $xh
, string $encoding
)
Set the output encoding for the XSLT transformations. When using the Sablotron backend, this option is only available when you compile Sablotron with encoding support.
Список параметров
- xh
-
The XSLT processor link identifier, created with xslt_create().
- encoding
-
An output encoding, e.g iso-8859-1.
Возвращаемые значения
Эта функция не возвращает значения после выполнения.
[an error occurred while processing the directive]
- xslt_backend_info
- xslt_backend_name
- xslt_backend_version
- xslt_create
- xslt_errno
- xslt_error
- xslt_free
- xslt_getopt
- xslt_process
- xslt_set_base
- xslt_set_encoding
- xslt_set_error_handler
- xslt_set_log
- xslt_set_object
- xslt_set_sax_handler
- xslt_set_sax_handlers
- xslt_set_scheme_handler
- xslt_set_scheme_handlers
- xslt_setopt
Коментарии
sablotron and php have to be correctly linked with iconv library to get this function working
IE on sabotron ./configure :
--with-iconv-prefix=/your/path
Beware with http://bugs.php.net/bug.php?id=23148 if you experienced problems compiling php4-xslt.