XML to PHP array - here's more info
Posted: Tue Jan 13, 2004 8:36 am
Yes, there are commercial solutions, and yes, in PHP 5 the DOM will be nice & cosy with XML, but for now extracting data from XML with PHP is a bit of a pain - a bit.
There is a nice and illuminating article on this which explains it quite clearly - so if you need to do this stuff (I am not talking about generating XML with PHP, but parsing), maybe you find this helpful as well:
http://www.devarticles.com/c/a/PHP/Conv ... Structure/
There is a nice and illuminating article on this which explains it quite clearly - so if you need to do this stuff (I am not talking about generating XML with PHP, but parsing), maybe you find this helpful as well:
http://www.devarticles.com/c/a/PHP/Conv ... Structure/