[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[seul-edu] [EduML questions Correction]



I made a several bad mistakes in the XML; please pardon my resending this
corrected:

Bruno
---------------------
Given a marks database like thus:

Teacher Student Session Course  Class Date       Unit (Act) Mark
----------------------------------------------------------------
eric    bruno   term-2  math-12 sec-A jan-5-2000 basic-trig  56%
eric    doug    term-2  math-12 sec-A jan-5-2000 basic-trig  86%
eric    odile   term-2  math-12 sec-A jan-5-2000 basic-trig  87%
eric    georges term-2  math-12 sec-A jan-5-2000 basic-trig  88%
...

In XML (EduML), we transform that to:  

<EDUML>
 <COURSE id="math-12">
  <SESSION id="term-2"> 
   <TEACHER id="eric"/>
    <ACT id="basic-trig" date="jan-5-2000">
     <SCALE id="percent"/>
     <MARK student="bruno" marker="eric"> 56% </MARK>
     <MARK student="doug" marker="eric"> 86% </MARK>
     <MARK student="odile" marker="eric"> 87% </MARK>
     <MARK student="georges" marker="eric"> 88% </MARK>
    </ACT>
   </TEACHER>
  </SESSION> 
 </COURSE>
</EDUML>