xslt_set_encoding

(PHP 4 >= 4.0.5)

xslt_set_encodingSet the encoding for the parsing of XML documents

Description

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.

Parameters

xh

The XSLT processor link identifier, created with xslt_create().

encoding

An output encoding, e.g iso-8859-1.

Return Values

No value is returned.

Коментарии

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
2005-01-26 09:05:03
http://php5.kiev.ua/manual/ru/function.xslt-set-encoding.html
Beware with http://bugs.php.net/bug.php?id=23148 if you experienced problems compiling php4-xslt.
2007-09-10 06:13:04
http://php5.kiev.ua/manual/ru/function.xslt-set-encoding.html

    Поддержать сайт на родительском проекте КГБ