hi guys, I'm kind of new with xml. I have an xml file in the following format, with 592 records:

<?xml version="1.0" encoding="ISO-8859-1"?>
		<address>81 North Broadway, White Plains, NY</address>
		<rating>No Access</rating>
		<municipality>White Plains</municipality>
		<buildingName>44 Franklin Avenue</buildingName>
		<address>44 Franklin Avenue, New Rochelle, NY</address>
		<rating>Good Access</rating>
		<municipality>New Rochelle</municipality>

I'm using the following code in order to read all the addresses:

var xml = GXml.parse(data);   //this function is from google map API
var addresses =xml.documentElement.getElementsByTagName("address");

for (var i = 0; i < addresses.length; i++) {

There are 592 records, but I'm only being able to read 74!!!!! Why is that? Any help will be greatly appreciate it. Thank you