[PHP] Problem with Sablot/PHP4

2001-04-30 Thread Yarek

I want to parse XML with XSL for XHTML output with PHP4 and I have two
problems:

(1) How to make XSLT for output in ISO-8859-2 instead of UTF-8? I
tried in different ways but Sablotron always returned errors.

(2) How to get more usefull informations about errors. For instance,
if I have any syntax error in xsl file my browser get only useless
information: Fatal error: msgtype: error file.php on line 51 (where
the number is only for xslt_process($xslData, $xmlData, $result))

--
Yarek



-- 
PHP General 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]




Re: [PHP] Problem with Sablot/PHP4

2001-05-02 Thread ReadOnly

On 30 kwietnia 2001 at 18:23:04
Yasuo Ohgaki <[EMAIL PROTECTED]>
wrote:

> I don't use the extension, but XML assumes UTF-8 charcode. If you
> have problem with ISO-8859-2, how about convert it to UTF-8 using
> iconv module?

XML assumes that parameter "encoding=ISO-8859-2" should work
correctly, but it does NOT work in Sablot/PHP4. And I do not want to
launch any external application from PHP because it will slow down my
web serwer.

--
Yarek


-- 
PHP General 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]