[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
XML sample
here is a posting from the http://www.imsproject.org public forum,
and an example of what XML in education software can look like (see below)
Bruno
-------------------------------------------------------------------snip
Here are contacts and web sites for the initiatives that we have currently found working
on developing a common question language
QML - Quiz Markup Language
URL: http://ems.cea.wsu.edu/QML/
Dr. Robert Bamberger - bamberg@eecs.wsu.edu
Christopher Shorey - cshorey@wsu.edu
Richard Simpkinsson - rsimpkin@gocongs.wsu.edu
QuizzIT
URL: http://pixel.cs.vt.edu/~ltinoco/quizitdocs/index.html
Lucio Cunha Tinoco - tinoco@vt.edu
TML - Tutorial Markup Language
URL: http://www.ilrt.bris.ac.uk/netquest/
Daniel Brickley - daniel.brickley@bristol.ac.uk
QDML - Quiz Document Markup Language
URL: http://brain.oryxsoft.com/products/index.shtml (currently down)
Paul Fisher <rao@gnu.org>
SATML - Standardized Assessment and Testing Markup Language
URL: http://132.170.199.196/satml
Dr. Ron Eaglin - reaglin@mail.ucf.edu
Teresa Ferrandez - tess_ferrandez@bigfoot.com
Test Markup Tags - from the Navy
URL: http://www.namrl.navy.mil/select/tags.htm
------------------------
A useful web site for this is
http://www.schema.net/education - a site hosted by James Tauber.
_____________________________________________________________________________________
Follow-up to Anonymous, Proposed DTD for Assessment (Monday, 8/10 11:57 AM EDT)
This is a working draft for a XML DTD for the transfer of questions between and inside
distance learning tools on the internet.
As the basis of our file format we have used WebCT files and the IMS
Specification.
Currently the "SATML" (Standardized Assessment and Testing Markup Language) can describe
four types of online-questions, Multiple Choice, Short Answer, Calculated and Matching
questions.
We are planning to expand this to also include assessments and test data.
The idea is that distance learning tools on the internet should be able to export and
import .SATML files the same way graphics tools can export and import .GIF giles, to
enable teachers/course developers to cooperate even if they are using different tools.
For more information about individual elements in the DTD please consult
http://132.170.199.196/tessweb/test.htm
or the SATML project homepage
http://132.170.199.196/satml/
THIS IS AN EXAMPLE OF ACTUAL QUESTIONS STORED IN THE SATML FORMAT
<?xml version="1.0"?>
<!DOCTYPE QUESTIONS SYSTEM "SATML.dtd">
<QUESTIONS>
<MATCHQUESTION RIGHT_COLUMN_TYPE="short">
<TITLE>Multiplication</TITLE>
<CREATOR>
<FNAME>Arne</FNAME>
<MINITIAL>B</MINITIAL>
<LNAME>Carne</LNAME>
</CREATOR>
<PDATE DAY="02" MONTH="feb" YEAR="1998"/>
<CATEGORY>Mathematics</CATEGORY>
<LEVEL AGE="12" SKILL="5"/>
<STATEMENT>Match the question with the answer.</STATEMENT>
<MATCHELEMENT>
<LEFTCOLUMNMATCH>4*2</LEFTCOLUMNMATCH>
<RIGHTCOLUMNMATCH>8</RIGHTCOLUMNMATCH>
</MATCHELEMENT>
<MATCHELEMENT>
<LEFTCOLUMNMATCH>3*8</LEFTCOLUMNMATCH>
<RIGHTCOLUMNMATCH>24</RIGHTCOLUMNMATCH>
</MATCHELEMENT>
<MATCHELEMENT>
<LEFTCOLUMNMATCH>4*5</LEFTCOLUMNMATCH>
<RIGHTCOLUMNMATCH>20</RIGHTCOLUMNMATCH>
</MATCHELEMENT>
</MATCHQUESTION>
<MATCHQUESTION RIGHT_COLUMN_TYPE="short">
<TITLE>Disney Characters</TITLE>
<CREATOR>
<FNAME>Borje</FNAME>
<LNAME>Brus</LNAME>
</CREATOR>
<PDATE DAY="02" MONTH="feb" YEAR="1998"/>
<CATEGORY>Comics</CATEGORY>
<LEVEL AGE="11" SKILL="4"/>
<STATEMENT>Match each disney character with his/her last
name.</STATEMENT>
<MATCHELEMENT>
<LEFTCOLUMNMATCH>Donald</LEFTCOLUMNMATCH>
<RIGHTCOLUMNMATCH>Duck</RIGHTCOLUMNMATCH>
</MATCHELEMENT>
<MATCHELEMENT>
<LEFTCOLUMNMATCH>Mortimer</LEFTCOLUMNMATCH>
<RIGHTCOLUMNMATCH>Goose</RIGHTCOLUMNMATCH>
</MATCHELEMENT>
<MATCHELEMENT>
<LEFTCOLUMNMATCH>Mickey</LEFTCOLUMNMATCH>
<RIGHTCOLUMNMATCH>Mouse</RIGHTCOLUMNMATCH>
</MATCHELEMENT>
</MATCHQUESTION>
<SAQUESTION NUMBER_OF_ANSWER_BOXES="2">
<TITLE>Water Molecules</TITLE>
<CREATOR>
<FNAME>John</FNAME>
<MINITIAL>F</MINITIAL>
<LNAME>Kennedy</LNAME>
</CREATOR>
<PDATE DAY="02" MONTH="feb" YEAR="1998"/>
<CATEGORY>Chemistry</CATEGORY>
<STATEMENT>What two elements does a water molecule
contain?</STATEMENT>
<SAANSWER CORRECTNESS="50" ALLOW_TO_ANS_IN_BOX="all">
<ANSWERTEXT>hydrogen</ANSWERTEXT>
<FEEDBACK>Yupp, two of them</FEEDBACK>
</SAANSWER>
<SAANSWER CORRECTNESS="50" ALLOW_TO_ANS_IN_BOX="all">
<ANSWERTEXT>oxygen</ANSWERTEXT>
<FEEDBACK>Yupp, one</FEEDBACK>
</SAANSWER>
</SAQUESTION>
<CQUESTION FORMAT="text">
<TITLE>Multiplication</TITLE>
<CREATOR>
<FNAME>Elin</FNAME>
<MINITIAL>T</MINITIAL>
<LNAME>Ferrandez</LNAME>
</CREATOR>
<PDATE DAY="28" MONTH="dec" YEAR="1992"/>
<CATEGORY>Mathematics</CATEGORY>
<LEVEL AGE="11" SKILL="2"/>
<VERSION>01</VERSION>
<STATEMENT>If Oscar walks {x} miles/hour and he walked for {y}
hours, how many miles did he walk?</STATEMENT>
<FORMULA>x * y</FORMULA>
<VARIABLE NAME="x" MIN="5" MAX="8" DEC="2"/>
<VARIABLE NAME="y" MIN="1" MAX="5" DEC="0"/>
<CANSWER FORMAT="decimals" VALUE="2" TOLERANCE="5"
TOLERANCE_TYPE="percent"/>
<UNIT NAME="miles" IMPORTANCE="5" UNIT_SPACE="no" UNIT_CASE="no"/>
</CQUESTION>
<MCQUESTION>
<TITLE>HTML</TITLE>
<CREATOR>
<FNAME>Paul</FNAME>
<MINITIAL>Y</MINITIAL>
<LNAME>Huang</LNAME>
</CREATOR>
<PDATE DAY="1" MONTH="jan" YEAR="1998"/>
<CATEGORY>HTML</CATEGORY>
<STATEMENT>The two components of a HTML document are:</STATEMENT>
<MCANSWER CORRECTNESS="0">Title and Text</MCANSWER>
<MCANSWER CORRECTNESS="100">Body and Header</MCANSWER>
<MCANSWER CORRECTNESS="0">Meta and Paragraph</MCANSWER>
<MCANSWER CORRECTNESS="0">Title and Body</MCANSWER>
</MCQUESTION>
</QUESTIONS>
SATML DTD
<?xml encoding="US-ASCII"?>
<!ELEMENT QUESTIONS (MCQUESTION*, SAQUESTION*, CQUESTION*, MATCHQUESTION*)*>
<!-- Multiple choice question -->
<!ELEMENT MCQUESTION (TITLE, CREATOR, PDATE, CATEGORY, LEVEL?,
VERSION?, STATEMENT, MCANSWER+)>
<!-- Short Answer question -->
<!ELEMENT SAQUESTION (TITLE, CREATOR, PDATE, CATEGORY, LEVEL?,
VERSION?, STATEMENT, SAANSWER+)>
<!-- Calculated question -->
<!ELEMENT CQUESTION (TITLE, CREATOR, PDATE, CATEGORY, LEVEL?,
VERSION?, STATEMENT, FORMULA, VARIABLE+,
CANSWER, UNIT?)>
<!-- Match question -->
<!ELEMENT MATCHQUESTION (TITLE, CREATOR, PDATE, CATEGORY, LEVEL?,
VERSION?, STATEMENT, MATCHELEMENT+)>
<!-- Common parts -->
<!ELEMENT TITLE (#PCDATA)>
<!ELEMENT CREATOR (FNAME, MINITIAL?, LNAME)>
<!ELEMENT FNAME (#PCDATA)>
<!ELEMENT MINITIAL (#PCDATA)>
<!ELEMENT LNAME (#PCDATA)>
<!ELEMENT PDATE EMPTY>
<!ELEMENT CATEGORY (#PCDATA)>
<!ELEMENT LEVEL EMPTY>
<!ELEMENT STATEMENT (#PCDATA)>
<!ELEMENT VERSION (#PCDATA)>
<!-- Specific parts -->
<!ELEMENT MCANSWER (ANSWERTEXT, FEEDBACK?)>
<!ELEMENT SAANSWER (ANSWERTEXT, FEEDBACK?)>
<!ELEMENT FORMULA (#PCDATA)>
<!ELEMENT VARIABLE EMPTY>
<!ELEMENT CANSWER EMPTY>
<!ELEMENT UNIT EMPTY>
<!ELEMENT MATCHELEMENT (LEFTCOLUMNMATCH, RIGHTCOLUMNMATCH)>
<!ELEMENT LEFTCOLUMNMATCH (#PCDATA)>
<!ELEMENT RIGHTCOLUMNMATCH (#PCDATA)>
<!-- Attributes -->
<!ATTLIST MCQUESTION
MULTIPLE_SELECTION (yes | no) "no"
ANSWER_LAYOUT (horizontal | vertical) "vertical"
FORMAT (text | html) "html" >
<!ATTLIST SAQUESTION
NUMBER_OF_ANSWER_BOXES CDATA #IMPLIED
FORMAT (text | html) "html">
<!ATTLIST CQUESTION
FORMAT (text | html) "html" >
<!ATTLIST MATCHQUESTION
LEFT_COLUMN_TYPE (short | long) "long"
RIGHT_COLUMN_TYPE (short | long) "long"
MARKING_SCHEME (eq_weighted | all_nothing | right_less_wrong) "eq_weighted"
COLUMN_PREVIEW (yes | no) "yes"
FORMAT (text | html) "html" >
<!ATTLIST PDATE
DAY CDATA #REQUIRED
MONTH CDATA #REQUIRED
YEAR CDATA #REQUIRED>
<!ATTLIST LEVEL
AGE CDATA #REQUIRED
SKILL CDATA #REQUIRED>
<!ATTLIST MCANSWER
FORMAT (text | html) "html"
CORRECTNESS CDATA #IMPLIED>
<!ATTLIST SAANSWER
CORRECTNESS CDATA #IMPLIED
ALLOW_TO_ANSWER_IN_BOX CDATA #REQUIRED>
<!ATTLIST VARIABLE
NAME CDATA #REQUIRED
MIN CDATA #REQUIRED
MAX CDATA #REQUIRED
DEC CDATA #REQUIRED>
<!ATTLIST CANSWER
FORMAT (decimals | significant_figures) "decimals"
VALUE CDATA #IMPLIED
TOLERANCE CDATA #IMPLIED
TOLERANCE_TYPE (percent | units) "percent">
<!ATTLIST UNIT
IMPORTANCE CDATA #REQUIRED
NAME CDATA #REQUIRED
UNIT_SPACE (yes | no) "no"
UNIT_CASE (yes | no) "no">
Teresa Ferrandez - tf00389@pegasus.cc.ucf.edu
Dr. Ron Eaglin - reaglin@mail.ucf.edu
----- End forwarded message -----