From:             [EMAIL PROTECTED]
Operating system: windows 2000
PHP version:      4.1.0
PHP Bug Type:     XSLT related
Bug description:  encoding with XSLT problem

I got this error using XSLT in PHP-4.1.0 on Windows 2000. 

Warning: Sablotron error on line 1: unknown encoding '' in 
e:\www\htdocs\home.php on line 151 
Warning: Unknown persistent list entry type in module shutdown (11) in
Unknown on line 0 

and when I add an encoding statement, 

Warning: xslt_set_encoding() is not supported in this PHP build in 
e:\www\htdocs\home.php on line 150 

My code:

$xml = $doc->dumpmem();

$arguments = array(
     '/_xml' => $xml,
);

// Allocate a new XSLT processor
$xh = xslt_create();

#xslt_set_encoding($xh, "utf-8");

// Process the document
$result = xslt_process($xh, 'arg:/_xml', $include_dir . $xslt_filename,
NULL, $arguments); 

var_dump($result);

xslt_free($xh);
-- 
Edit bug report at: http://bugs.php.net/?id=14499&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to