[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sample EDUML for code samples
Here is the corrected proposed exercise:
please post code on how you would extract a class list and an attendance
report from this EDUML sample in your favorite language (perhaps using XML
libraries) for our edification. Thanks. (Thanks Duane for your bug-reports)
Bruno
-------------------sample EDUML v0.5 for coding samples--------
<edu:ml>
<school id="vc">
<learner id="123456">
<name>
<given> Bruno </given>
<family> Vernier </family>
</name>
<contact>
<email> vernier@vc.bc.ca </email>
<phone> 123-1234 </phone>
</contact>
<styles>
<style>Visual</style>
<style>Kinesthetic</style>
</styles>
<course id="math12-1998-t1">
<start> 1998/09/02 </start>
<act id="attendance">
<date> 1998/09/02 </date>
<date> 1998/09/03 </date>
<date> 1998/09/05 </date>
<date> 1998/09/07 </date>
</act>
</course>
</learner>
<learner id="123456">
<name>
<given> Pierre </given>
<family> Vernier </family>
</name>
<contact>
<email> pvernier@vc.bc.ca </email>
<phone> 143-1234 </phone>
</contact>
<styles>
<style>Visual</style>
<style>Auditory</style>
</styles>
<course id="math12-1998-t1">
<start> 1998/09/02 </start>
<act id="attendance">
<date> 1998/09/02 </date>
<date> 1998/09/05 </date>
<date> 1998/09/07 </date>
</act>
</course>
</learner>
<learner>
<name>
<given> Nabu </given>
<family> Vernier </family>
</name>
<contact>
<email> nabu@vc.bc.ca </email>
<phone> 123-1234 </phone>
</contact>
<styles>
<style>Visual</style>
</styles>
<course id="math12-1998-t1">
<start> 1998/09/02 </start>
<act id="attendance">
<date> 1998/09/02 </date>
<date> 1998/09/03 </date>
<date> 1998/09/05 </date>
<date> 1998/09/07 </date>
<date> 1998/09/09 </date>
</act>
</course>
</learner>
<learner>
<name>
<given> Maria </given>
<family> Vernier </family>
</name>
<contact>
<email> maria@vc.bc.ca </email>
<phone> 123-1234 </phone>
</contact>
<styles>
<style>Kinesthetic</style>
</styles>
<course id="math12-1998-t1">
<start> 1998/09/02 </start>
<act id="attendance">
<date> 1998/09/02 </date>
<date> 1998/09/03 </date>
<date> 1998/09/05 </date>
<date> 1998/09/09 </date>
</act>
</course>
</learner>
</school>
</edu:ml>
---------------------------end of sample EDUML v0.5 data----------
- References:
- Re: XML
- From: Bruno Vernier <vernier@vc.bc.ca>
- Re: XML
- From: Duane Morin <dmorin@tiac.net>