On Mon, 25 Feb 2002, Noel Billig wrote:
> Anybody out there get XSL transforms working with PHP4.1.1 and Apache1.3.22
> (Win32)?

Yes, I got it to work, but before I did I was getting the same encoding error as you.

I'm not sure what is causing your iconv dll errors though. I have a iconv-1.3.dll
that was part of the distribution and found in /php4/dlls directory 
located in my System32 dir. I am also using the copy of php_iconv.dll that 
came with the distribution.

This problem is discussed on bugs.php.net:
http://bugs.php.net/bug.php?id=14965


Basically, if you are transforming files, you need to refer to them like 
this:
file://C:/filePath/fileName.ext

rather than:
C:/filePath/fileName.ext

The page also has code for handling strings of XML and XSL.


It is unfortunate that the error that is returned is so misleading, 
but once you switch to one of the methods mentioned in the bug's discussion 
you should have no problems.

HTH!


--> Phillip Fox -- [EMAIL PROTECTED]
      405.773.WORX -- 1.888.772.WORX  --  http://www.TheWorxCo.Net/





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to