Re: DOM recursion

From: Date: Mon, 09 Mar 2009 13:52:43 +0000
Subject: Re: DOM recursion
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-289639@lists.php.net to get a copy of this message
Jochem Maas wrote:
Jochem Maas schreef:
Joanne Lane schreef:
I am trying to create a class that recursively iterates over an array an creates XML tree to reflect a multidimensional array. I am not really a PHP coder, but am trying my hand.
I've seen 'real coders' write stuff thats leagues worse.
This is what I have so far. http://pastie.org/private/w75vyq9ub09p0uawteyieq I have tried a few methods, but I keep failing. Currently, all elements are appended to the root node.
.. yes my pleasure, glad I could help, not a problem. phffft.
all too often the case man, I'm sure free-work@lists.php.net points here

« previous php.general (#289639) next »