Best way to move xml into arrays

From: Date: Wed, 07 Jan 2009 20:37:22 +0000
Subject: Best way to move xml into arrays
Groups: php.general 
Request: Send a blank email to php-general+get-285600@lists.php.net to get a copy of this message
Hi there, I am new to XML on PHP. Is there a simple way to put the DOM-Object into Multidimensional arrays? I have a complex XML-file which I would like to parse and to place the values into a db. E.g: <country> <city> <street> echo $tmp[country][city][street]; Thank you for any help. Best regards, Merlin

« previous php.general (#285600) next »