Take a look at patConfiguration http://www.php-tools.de/site.php


-----Original Message-----
From: Michael Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 15, 2003 3:59 PM
To: [EMAIL PROTECTED]
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



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

Reply via email to