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 -- Pratt Museum IT Intern All programmers are playwrights and all computers are lousy actors.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

