Re: reading XML
| From: | Nathan Rixham | Date: | Fri, 21 Nov 2008 09:44:12 +0000 |
| Subject: | Re: reading XML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283629@lists.php.net to get a copy of this message | ||
Angelo Zanetti wrote:
What is the simplest way to accomplish this small challenge?you could give this a go if you like (one i made earlier): http://programphp.com/xmlparser.phps - class at the top, usage at the bottom. it simply turns xml into an associated array, using regex; just tested it again as it's a couple of years old and it's working on php 4.4.7 and php 5.2.5