Re: xml
| From: | Philip Hallstrom | Date: | Fri, 27 May 2005 15:07:14 +0000 |
| Subject: | Re: xml | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215860@lists.php.net to get a copy of this message | ||
Hi all I recently decided to switch to xml for the configuration of our programs. I am now looking for a good way to handle that xml data. Basically, what I am looking for is a functionality where I say Get tag x with attribute1=y, attribute2=z,..., read its contents and put it in an associative array. It should put it in an array like this:[snip]
Anybody got any ideas?Never done it, but I'd start here: http://us3.php.net/manual/en/ref.simplexml.php http://us3.php.net/manual/en/ref.xml.php