Re: [PHP] converting nested hash to xml

2006-04-28 Thread chris smith
On 4/28/06, Anthony Ettinger <[EMAIL PROTECTED]> wrote: > Is there a standard way of converting a nested hash/multidimensional > array to an xml tree? http://www.php.net/manual/en/ref.dom.php would be a good start, or http://www.php.net/manual/en/ref.simplexml.php (I think this is more for reading

[PHP] converting nested hash to xml

2006-04-28 Thread Anthony Ettinger
Is there a standard way of converting a nested hash/multidimensional array to an xml tree? My hash looks like: $foo = array( bar1 => array( baz1 => array( title => "Some Title", text => "Some Text", ), bazN => array(...), ), bar2 => array (...), barN => a