I am getting the following error: Element 'SF_Lat' is not valid for content model: ... I have three sets of latitude and longitude arrays and after finishes outputing all three arrays I get the error. The SF_Lat and SF_Lon set are the very first set that run. Thanks Ryan