Send a blank email to [email protected] to get a copy of this message
I have issues with the DOM LOAD function. I CANNOT find the reason why it doesn't fill the Document with the xml file content:
$xmldoc = new DOMDocument();
$xmldoc->load("data/slides.xml");
In debugging, I can see the creation of a DOMDocument but the load function return True (1) and a empty Document $xmldoc:
<?xml version="1.0" encoding="UTF-8"?>
<album>
</album>
I use XAMPP 1.7.7. In php.net, under DOMDocument::load page, there is a post that says "Function will not work if using XML DOM PECL module".
In my phpinfo() there is only the "PECL Module version 2.0-dev $Id: sqlite.c 306939 2011-01-01 02:19:59Z felipe $ " under SQLite section enabled.
I tried many things like changing xml path, replacing the xml file with a simpler one from, for example, w3schools but with no avail.
I still get an empty document and no errors. I don't know where to bang my head since it looks like it's only me having this issue (search the web extensively).
Any help is greatly appreciated.
Thank you
* English - detected
* Albanian
* Dutch
* English
* French
* German
* Italian
* Spanish
* Albanian
* Dutch
* English
* French
* German
* Italian
* Spanish
<javascript:void(0);>