RE: [PHP] XML Array
| From: | Ralph Guzman | Date: | Wed, 16 Jul 2003 07:10:52 +0000 |
| Subject: | RE: [PHP] XML Array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155369@lists.php.net to get a copy of this message | ||
Take a look at patConfiguration http://www.php-tools.de/site.php
-----Original Message-----
From: Michael Smith [mailto:msmith@prattmuseum.org]
Sent: Tuesday, July 15, 2003 3:59 PM
To: php-general@lists.php.net
Subject: [PHP] XML Array
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
--
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