I seem to remember seeing something like that on hotscripts.com...

On Tuesday 15 July 2003 03:58 pm, Michael Smith wrote:
> Hey,
>
> I'm looking for a function to take an XML file and turn it into a PHP
> array with the same structure. So if I have:
>
> <template>
>       <color>#000000</color>
>       <background>image.jpg</background>
> </template>
>
> It would give me an array:
>
> Array (
>       [template] => Array (
>               [color] => #000000
>               [background] => image.jpg
>       )
> )
>
> Anyone know of anything like that?
>
> -Michael

-- 
"He's a born-again Christian. The trouble is, he suffered brain damage during 
rebirth."

-Unknown


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to