Hi all.
I cannot make my php parse xml files under the following system:
win ME;
Apache 1.3.20;
php 4.0.4pl1
I'm trying to use expat, but even the examples found in the manual produce
this error:
"XML error: syntax error at line 1".
(notice that XML support is active, in phpinfo.php).
I've tried plenty of expat examples found online, and had the same result.
The same goes for sablotron, correctly installed and recognized in the
phpinfo.
Just to abound, I've tried the public class XML (Class for accessing XML
data through the XPath language, some of you have practice with it?), that
does not require any extension. The output of the example form was:
"phpXML error: XML error in file company-structure.xml, line 1: syntax
error".
I'm not so experienced to realize what doesn't work with my php (or apache?)
configuration. It seems to be not an extension problem, but something
regarding the ability of php to open xml files.
Any suggestion? (it's a pretty newbie problem, I suppose).
Thanks for advance.