Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- parsing an xml file via php
August 2, 2006, 5:20 pm
rate this thread
Re: parsing an xml file via php
I used clsParseXML. This is the header from the file itself:
XML Parser Class
by Eric Rosebrock
Class originated from: email@example.com AT: http://www.devdump.com/phpxml.php
$xmlparse = &new ParseXML;
$xml = $xmlparse->GetXMLTree('/path/to/xmlfile.xml');
The path to the XML file may be a local file or a URL.
Returns the elements of the XML file into an array with
it's subelements as keys and subarrays.
Maybe you can find this ;)
(I made a little adjustment so that I could use 'in memory' xml (= string with xml).
- » printing collumn names then contents from mysql query
- — Previous thread in » PHP Scripting Forum