WIERD XML Problem..Please Help

Ok, I’ve worked with XML and Flash alot, but never on a MAC. That’s what I’m trying to do now. Here is the problem. Say I have this in my XML File:


and this in my flash file:

peopleXML = new XML();
peopleXML.onLoad = function(success) {

This will give me value of John:


This will give me a value of Charles:


This will give me a value of Doe:


Notice I have 1, 3, 5 for my last childNodes values. I should be able to put 0, 1, 2 respectively in those brackets. If I put a 2 there and trace it, I get an output box, but it is completely blank. I’m completely boggled!! Surely someone has come across the problem.
I make the XML file in Dreamweaver MX on a MAC. Is there some hidden node that it is creating or something? Appreciate any suggestioins. Thanks.