XML Records Structure

XML Records Structure

  
Hi All,

I have returned content from and API request:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<schools>
<school>
<gsId>13978</gsId>
<name>Alder Creek Middle School</name>
<type>public</type>
<gradeRange>6-8</gradeRange>
<enrollment>523</enrollment>
<gsRating>7</gsRating>
<parentRating>4</parentRating>
<city>Truckee</city>
<state>CA</state>
<districtId>509</districtId>
<district>Tahoe-Truckee Joint Unified</district>
<districtNCESId>0638770</districtNCESId>
<address>10931 Alder Drive, Truckee, CA 96161</address>
<phone>(530) 582-2750</phone>
<fax>(530) 582-7640</fax>
<website>http://www.ttusd.org</website>
<ncesId>063877011005</ncesId>
<lat>39.3466</lat>
<lon>-120.17988</lon>
</school>
<school>
<gsId>11039</gsId>
<name>Cold Stream Alternative School</name>
<type>public</type>
<gradeRange>3-12</gradeRange>
<enrollment>29</enrollment>
<parentRating>5</parentRating>
<city>Truckee</city>
<state>CA</state>
<districtId>509</districtId>
<district>Tahoe-Truckee Joint Unified</district>
<districtNCESId>0638770</districtNCESId>
<address>11661 Donner Pass Road, Truckee, CA 96161</address>
<phone>(530) 582-2640</phone>
<fax>(530) 582-7640</fax>
<website/>
<ncesId>063877006175</ncesId>
<lat>39.326057</lat>
<lon>-120.211845</lon>
<overviewLink>
http://www.greatschools.org/california/truckee/11039-Cold-Stream-Alternative-School/?s_cid=gsapi
</overviewLink>
<ratingsLink>
http://www.greatschools.org/school/rating.page?state=CA&id=11039&s_cid=gsapi
</ratingsLink>
<reviewsLink>
http://www.greatschools.org/school/parentReviews.page?state=CA&id=11039&s_cid=gsapi
</reviewsLink>
<schoolStatsLink>
http://www.greatschools.org/modperl/achievement/CA/11039
</schoolStatsLink>
</school>
</schools>

I used a screen variable "test" that is a recordlist of type schools. Schools structure has a record, type school. THe school has all of the attributes. For some reason I am getting an error that indicates that the structure is incompatible with the returned xml. Any clues?

With what are  you trying to import? xml2recordlist?
And how?
are there any parameters you pass or not?

if you are using xml2recordlist, try recordlist2xml first to see if your exported xml is the same as the one you want to import.