# XML adding null childNodes? PLEASE look at this... Sen? Someone? anyone?

**URL:** https://forum.kirupa.com/t/xml-adding-null-childnodes-please-look-at-this-sen-someone-anyone/155317
**Category:** Uncategorized
**Created:** [July 16, 2005, 8:12am UTC](https://forum.kirupa.com/t/xml-adding-null-childnodes-please-look-at-this-sen-someone-anyone/155317 "2005-07-16T08:12:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![booler](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@booler](https://forum.kirupa.com/u/booler)
#### Post date: [July 16, 2005, 8:12am UTC](https://forum.kirupa.com/t/xml-adding-null-childnodes-please-look-at-this-sen-someone-anyone/155317/1 "2005-07-16T08:12:46Z")

</div>

I’m workig on my portfolio and here is what Im running into…

When I debug my fla the following XML shows up with extra "xmlobj.childNodes[1].childNodes[“Right here”]

when I browse the file in the debugger (variables section) instead of 0,1 and 2 for childNodes the are 0-5??? and every other one is all null values… also they show up as [1] [2] [3] directly under xmlobj when I expand it can anyone tell me whats up with my xml? if its my script or you think it is I’ll post the code/fla if I need to… alsoMy xml will be dynamically created via a php -\> mysql script eventually (I have that worked out I just need to get this working so I can properly format my php-\> xml output for flash which is what I think my problem is… Thanks in advance guys.

```auto
 <?xml version="1.0" encoding="ISO-8859-1"?> 
<ROOT>
<port id="1" thumbnail ="projects/a.jpg" largepic ="projects/1.jpg" title ="Test 1" project_link ="projects/test1.swf" section ="Client Work" catagory ="www" description ="Test Portfolio Entry">1</port>
<port id ="2" thumbnail ="projects/thumb2.jpg" largepic ="projects/2.jpg" title ="Test 2" project_link ="projects/test2.swf" section ="Client Work" catagory ="www" description ="Test Portfolio Entry 2">2</port>
<port id ="3" thumbnail ="thumb3" largepic ="large" title ="Test 3" project_link ="test3.swf" section ="Client Work" catagory ="www" description ="Logo Design/Identity Package">3</port>
</ROOT> 

```
