Tutorial Guide > Transform XML Schemas Tutorial > Create the School.xml Data File for the Tutorial
 
Create the School.xml Data File for the Tutorial
The XML file contain data for the execution of the transform is required for this tutorial. This procedure provides the code for you to copy and paste into the Studio editor to create the simple XML data file.
To create the School.xml data file
1. Open your favorite text editor.
2. Copy and paste the following XML code into the text editor.
<?xml version="1.0" encoding="UTF-8"?>
<Classes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://compositesw.com/transform/example/school">
<Class>
<CourseName>BIO-101</CourseName>
<CourseDescription>Intro to biology</CourseDescription>
<Department>Science</Department>
<CreditNumber>1101</CreditNumber>
<Teacher>
<TeacherName>Bob Darwin</TeacherName>
<TeacherEmail>bdarwin@school.com</TeacherEmail>
</Teacher>
<Student><StudentName>Evelina Ruffino</StudentName><StudentEmail>ERuffino@school.com</StudentEmail></Student>
<Student><StudentName>Krystal Deeter</StudentName><StudentEmail>KDeeter@school.com</StudentEmail></Student>
<Student><StudentName>Temika Kanter</StudentName><StudentEmail>TKanter@school.com</StudentEmail></Student>
<Student><StudentName>Zina Borey</StudentName><StudentEmail>ZBorey@school.com</StudentEmail></Student>
<Student><StudentName>Eugenio Bossard</StudentName><StudentEmail>EBossard@school.com</StudentEmail></Student>
<Student><StudentName>Bess Zucker</StudentName><StudentEmail>BZucker@school.com</StudentEmail></Student>
<Student><StudentName>Gisele Landsman</StudentName><StudentEmail>GLandsman@school.com</StudentEmail></Student>
<Student><StudentName>Lorretta Strawn</StudentName><StudentEmail>LStrawn@school.com</StudentEmail></Student>
<Student><StudentName>Juanita Hamby</StudentName><StudentEmail>JHamby@school.com</StudentEmail></Student>
<Student><StudentName>Fredda Nakagawa</StudentName><StudentEmail>FNakagawa@school.com</StudentEmail></Student>
<Student><StudentName>Fletcher Sigg</StudentName><StudentEmail>FSigg@school.com</StudentEmail></Student>
<Student><StudentName>Latrina Rumore</StudentName><StudentEmail>LRumore@school.com</StudentEmail></Student>
<Student><StudentName>Neg Wisener</StudentName><StudentEmail>NWisener@school.com</StudentEmail></Student>
<Student><StudentName>Hwa Speegle</StudentName><StudentEmail>HSpeegle@school.com</StudentEmail></Student>
<Student><StudentName>Mariella Stonerock</StudentName><StudentEmail>MStonerock@school.com</StudentEmail></Student>
<Student><StudentName>Evan Pagaduan</StudentName><StudentEmail>EPagaduan@school.com</StudentEmail></Student>
<Student><StudentName>Gertrud Millman</StudentName><StudentEmail>GMillman@school.com</StudentEmail></Student>
<Student><StudentName>Bill Baynard</StudentName><StudentEmail>BBaynard@school.com</StudentEmail></Student>
<Student><StudentName>Neal Sheilds</StudentName><StudentEmail>NSheilds@school.com</StudentEmail></Student>
<Student><StudentName>Emery Galles</StudentName><StudentEmail>EGalles@school.com</StudentEmail></Student>
</Class>
<Class>
<CourseName>BIO-201</CourseName>
<CourseDescription>Evolution</CourseDescription>
<Department>Science</Department>
<CreditNumber>1201</CreditNumber>
<Teacher>
<TeacherName>Bob Darwin</TeacherName>
<TeacherEmail>bdarwin@school.com</TeacherEmail>
</Teacher>
<Student><StudentName>Leeann Trimpe</StudentName><StudentEmail>LTrimpe@school.com</StudentEmail></Student>
<Student><StudentName>Georgeann Sones</StudentName><StudentEmail>GSones@school.com</StudentEmail></Student>
<Student><StudentName>Chrissy Loiselle</StudentName><StudentEmail>CLoiselle@school.com</StudentEmail></Student>
<Student><StudentName>Natalya Fife</StudentName><StudentEmail>NFife@school.com</StudentEmail></Student>
<Student><StudentName>Kandi Markwell</StudentName><StudentEmail>KMarkwell@school.com</StudentEmail></Student>
<Student><StudentName>Tommie Weller</StudentName><StudentEmail>TWeller@school.com</StudentEmail></Student>
<Student><StudentName>Elin Schimpf</StudentName><StudentEmail>ESchimpf@school.com</StudentEmail></Student>
<Student><StudentName>Spring Luke</StudentName><StudentEmail>SLuke@school.com</StudentEmail></Student>
<Student><StudentName>Devona Bertelsen</StudentName><StudentEmail>DBertelsen@school.com</StudentEmail></Student>
<Student><StudentName>Celinda Chaplin</StudentName><StudentEmail>CChaplin@school.com</StudentEmail></Student>
<Student><StudentName>Annamarie Eustice</StudentName><StudentEmail>AEustice@school.com</StudentEmail></Student>
<Student><StudentName>Ambrose Keating</StudentName><StudentEmail>AKeating@school.com</StudentEmail></Student>
<Student><StudentName>Kiley Cranor</StudentName><StudentEmail>KCranor@school.com</StudentEmail></Student>
<Student><StudentName>Jani Gibeault</StudentName><StudentEmail>JGibeault@school.com</StudentEmail></Student>
<Student><StudentName>Willian Gochenour</StudentName><StudentEmail>WGochenour@school.com</StudentEmail></Student>
<Student><StudentName>Jeanna Marmolejo</StudentName><StudentEmail>JMarmolejo@school.com</StudentEmail></Student>
<Student><StudentName>Norah Revelle</StudentName><StudentEmail>NRevelle@school.com</StudentEmail></Student>
<Student><StudentName>Claud Lares</StudentName><StudentEmail>CLares@school.com</StudentEmail></Student>
<Student><StudentName>Lacy Bossert</StudentName><StudentEmail>LBossert@school.com</StudentEmail></Student>
<Student><StudentName>Ernesto Dangelo</StudentName><StudentEmail>EDangelo@school.com</StudentEmail></Student>
</Class>
<Class>
<CourseName>CSC-450</CourseName>
<CourseDescription>Compilers I</CourseDescription>
<Department>Computer Science</Department>
<CreditNumber>2450</CreditNumber>
<Teacher>
<TeacherName>Chuck Babbage</TeacherName>
<TeacherEmail>cbabbage@school.com</TeacherEmail>
</Teacher>
<Student><StudentName>Fredda Nakagawa</StudentName><StudentEmail>FNakagawa@school.com</StudentEmail></Student>
<Student><StudentName>Fletcher Sigg</StudentName><StudentEmail>FSigg@school.com</StudentEmail></Student>
<Student><StudentName>Latrina Rumore</StudentName><StudentEmail>LRumore@school.com</StudentEmail></Student>
<Student><StudentName>Nan Wisener</StudentName><StudentEmail>NWisener@school.com</StudentEmail></Student>
<Student><StudentName>Hwa Speegle</StudentName><StudentEmail>HSpeegle@school.com</StudentEmail></Student>
<Student><StudentName>Mariella Stonerock</StudentName><StudentEmail>MStonerock@school.com</StudentEmail></Student>
<Student><StudentName>Evan Pagaduan</StudentName><StudentEmail>EPagaduan@school.com</StudentEmail></Student>
<Student><StudentName>Gertrud Millman</StudentName><StudentEmail>GMillman@school.com</StudentEmail></Student>
<Student><StudentName>Bill Baynard</StudentName><StudentEmail>BBaynard@school.com</StudentEmail></Student>
<Student><StudentName>Neal Sheilds</StudentName><StudentEmail>NSheilds@school.com</StudentEmail></Student>
<Student><StudentName>Emery Galles</StudentName><StudentEmail>EGalles@school.com</StudentEmail></Student>
<Student><StudentName>Ambrose Keating</StudentName><StudentEmail>AKeating@school.com</StudentEmail></Student>
<Student><StudentName>Kiley Cranor</StudentName><StudentEmail>KCranor@school.com</StudentEmail></Student>
<Student><StudentName>Jani Gibeault</StudentName><StudentEmail>JGibeault@school.com</StudentEmail></Student>
<Student><StudentName>Willian Gochenour</StudentName><StudentEmail>WGochenour@school.com</StudentEmail></Student>
<Student><StudentName>Jeanna Marmolejo</StudentName><StudentEmail>JMarmolejo@school.com</StudentEmail></Student>
<Student><StudentName>Norah Revelle</StudentName><StudentEmail>NRevelle@school.com</StudentEmail></Student>
<Student><StudentName>Claud Lares</StudentName><StudentEmail>CLares@school.com</StudentEmail></Student>
<Student><StudentName>Lacy Bossert</StudentName><StudentEmail>LBossert@school.com</StudentEmail></Student>
<Student><StudentName>Ernesto Dangelo</StudentName><StudentEmail>EDangelo@school.com</StudentEmail></Student>
</Class>
<Class>
<CourseName>ECON-323</CourseName>
<CourseDescription>Macro Supply and Demand</CourseDescription>
<Department>Economics</Department>
<CreditNumber>3323</CreditNumber>
<Teacher>
<TeacherName>Scrooge Duck</TeacherName>
<TeacherEmail>sduck@school.com</TeacherEmail>
</Teacher>
<Student><StudentName>Evelina Ruffino</StudentName><StudentEmail>ERuffino@school.com</StudentEmail></Student>
<Student><StudentName>Krystal Deeter</StudentName><StudentEmail>KDeeter@school.com</StudentEmail></Student>
<Student><StudentName>Temika Kanter</StudentName><StudentEmail>TKanter@school.com</StudentEmail></Student>
<Student><StudentName>Zina Borey</StudentName><StudentEmail>ZBorey@school.com</StudentEmail></Student>
<Student><StudentName>Eugenio Bossard</StudentName><StudentEmail>EBossard@school.com</StudentEmail></Student>
<Student><StudentName>Bess Zucker</StudentName><StudentEmail>BZucker@school.com</StudentEmail></Student>
<Student><StudentName>Gisele Landsman</StudentName><StudentEmail>GLandsman@school.com</StudentEmail></Student>
<Student><StudentName>Lorretta Strawn</StudentName><StudentEmail>LStrawn@school.com</StudentEmail></Student>
<Student><StudentName>Juanita Hamby</StudentName><StudentEmail>JHamby@school.com</StudentEmail></Student>
<Student><StudentName>Fredda Nakagawa</StudentName><StudentEmail>FNakagawa@school.com</StudentEmail></Student>
<Student><StudentName>Fletcher Sigg</StudentName><StudentEmail>FSigg@school.com</StudentEmail></Student>
<Student><StudentName>Kiley Cranor</StudentName><StudentEmail>KCranor@school.com</StudentEmail></Student>
<Student><StudentName>Jani Gibeault</StudentName><StudentEmail>JGibeault@school.com</StudentEmail></Student>
<Student><StudentName>Willian Gochenour</StudentName><StudentEmail>WGochenour@school.com</StudentEmail></Student>
<Student><StudentName>Jeanna Marmolejo</StudentName><StudentEmail>JMarmolejo@school.com</StudentEmail></Student>
<Student><StudentName>Norah Revelle</StudentName><StudentEmail>NRevelle@school.com</StudentEmail></Student>
<Student><StudentName>Claud Lares</StudentName><StudentEmail>CLares@school.com</StudentEmail></Student>
<Student><StudentName>Lacy Bossert</StudentName><StudentEmail>LBossert@school.com</StudentEmail></Student>
<Student><StudentName>Ernesto Dangelo</StudentName><StudentEmail>EDangelo@school.com</StudentEmail></Student>
</Class>
</Classes>
 
3. Save the file with the name school.xml.