|
Posted by Snef on 11/09/07 11:54
Hi,
I used clsParseXML. This is the header from the file itself:
/*
XML Parser Class
by Eric Rosebrock
http://www.phpfreaks.com
Class originated from: kris@h3x.com AT: http://www.devdump.com/phpxml.php
Usage:
<?php
include 'clsParseXML.php';
$xmlparse = &new ParseXML;
$xml = $xmlparse->GetXMLTree('/path/to/xmlfile.xml');
echo "<pre>";
print_r($xml);
echo "</pre>";
?>
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).
thomas wrote:
> hey everybody,
>
> does anyone know a good internet page where I can found some examples
> how to parse xml files by php.....
>
> all the pages I found give me too little information, so I was not able
> to solve my whole prob.
>
>
> thanks in advance,
> thomas
>
Navigation:
[Reply to this message]
|