Dear all,

Im writing a code of DOMdocument::load() to read XML file using XAMPP development tool. My XAMPP is a PHP 5 but the web server which i upload the file is using PHP4. This code seem cannot work as i viewed the phpinfo() in the web server, it didnt have a DOMXML enabled.

Is there any other way to run this function or is there any function to read XML file beside upgrade the web server to PHP5?

Please help...

    You can probably use the XML Parser Functions, as they are enabled by default so normally are available. However, they are rather clumsy to use, so you might want to search for a ready-made class or function at sourceforge.net, phpclasses.org, etc. that either is based on those functions or uses its own functions/methods.

      I have tried to find some site where they are using xml_parser_create() function to read xml, it did works! but i just realize that my file is XML_spreadsheet convert from excel. And the code cannot read this kind of file.:queasy:

        Write a Reply...