Re: [PHP] Object assignment

2003-07-09 Thread Matt Grimm
Tom: Thanks for the help. Using the array setup you described, I end up with the value of each "record" node being appended to a single instance of the parent node. And that single instance of the parent node is the final one that was parsed (the attributes verify this). The example I used belo

Re: [PHP] Object assignment

2003-07-08 Thread Tom Rogers
Hi, Wednesday, July 9, 2003, 10:38:22 AM, you wrote: MG> I'm having trouble creating objects with DOMXML. As I loop through a level MG> of nodes, I'm creating a new element based on the array's key name. The XML MG> might look like this: MG> MG> Value 1 MG> Value 2 MG> MG> So I'd be doin

RE: [PHP] Object assignment

2003-07-08 Thread Martin Towell
Since I can't see the source for append_child(), I'll assume you're using the $key as the index?? If so, try changing it to just a numeric index, ie, 0, 1, 2, etc. HTH Martin -Original Message- From: Matt Grimm [mailto:[EMAIL PROTECTED] Sent: Wednesday, 9 July 2003 10:38 AM To: [EMAIL PR