     (doseq [ [districtName schools] district]
       (gen-schools districtName schools (format "/tmp/test/B-%s-schools.xml" districtName))
       (gen-session districtName (format "/tmp/test/C-%s-calendar.xml" districtName))
-      (gen-sections districtName (format "/tmp/test/D-%s-master-schedule.xml" districtName))
+      (gen-sections districtName schools (format "/tmp/test/D-%s-master-schedule.xml" districtName))
       (doseq [ schoolName schools ]
         (def rng (range 1 (+ 1 studentCount)))
         (gen-students schoolName rng (format "/tmp/test/E-%s-student.xml" schoolName))

  )
)

(defn gen-sections [districtName output-file]
  (gen-edfi :InterchangeMasterSchedule output-file (reverse (create-section districtName)))
)



    )

    (element :Section {}
      (element :UniqueSectionCode {} (format "%s-Math-7-2011-Sec2", schoolName))
      (element :SequenceOfCourse {} "1")
      (element :CourseOfferingReference {}
        (element :CourseOfferingIdentity {}
          (element :LocalCourseCode {} (format "%s-Math-7" schoolName))
          (element :CourseCode {:IdentificationSystem "CSSC course code"}
            (element :ID {} "Math007")
          )
          (element :Term {} "Fall Semester")
          (element :SchoolYear {} "2011-2012")
          (element :StateOrganizationId {} schoolName)
        )
      )
      (element :SchoolReference {}
        (element :EducationalOrgIdentity {}
          (element :StateOrganizationId {} schoolName)
        )
      )
      (element :SessionReference {}
