Re: DOM recursion
| From: | Jochem Maas | Date: | Tue, 10 Mar 2009 00:05:12 +0000 |
| Subject: | Re: DOM recursion | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-289727@lists.php.net to get a copy of this message | ||
Nathan Rixham schreef:
> 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
yeah but those from php-women should know better :-)
my eye keeps picking up php-women since I had a very nice chat
with JRF (of phpwomen.org) at phpuk.
oh well it was a nice little exercise in DOM, something I
haven't fully mastered yet.
>