I'm trying to parse a file for a school district that is supposed to be XML, but it's not well-formed. Does anyone here have experience parsing files like this? The format is something like this:
<BasmatiL> <CLASS> <CC> xxx </CC> <SN> xxx </SN> <CNAME> xxxx </CNAME> <MISC1> xxxx </MISC1> </CLASS> <ASSIGN> <DESCR> Chapter 34 Reading Quiz </DESCR> <POINTS> 5 </POINTS> <EALR> </EALR> </ASSIGN> <STUDENT> <ID> asdfasdf </ID> <SCORES> 6,5,14,38,5,5,15,38,5 </SCORES> <PERCENT> 89.9 </PERCENT> <GRADE> B+ </GRADE> </STUDENT> <STUDENT> <ID> 12345 </ID> <SCORES> 7,5,14,47,6,5,15,40,5 </SCORES> <PERCENT> 98.6 </PERCENT> <GRADE> A+ </GRADE> </STUDENT> </BasmatiL> And there are muliple top-level <BasmatiL> nodes in each file. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239874 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54