Only create records and parse XML if within record limit