Re: DOM recursion
| From: | Jochem Maas | Date: | Mon, 09 Mar 2009 09:21:43 +0000 |
| Subject: | Re: DOM recursion | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289627@lists.php.net to get a copy of this message | ||
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.