phptest-users
[Top][All Lists]
Advanced

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

[Phptest-users] Re: xml export


From: dank
Subject: [Phptest-users] Re: xml export
Date: Sun, 04 Aug 2002 21:10:24 -0700

Brandon Tallent wrote:
> 
> --- address@hidden wrote:
> > ... Is there an interchange format phptest could import and export
> > test questions in?  ... [http://www.imsproject.org defines one...]
>
> ... I think that is a
> good idea in the longrun, but I don't have the time to
> put into a specification as big as that pdf you linked
> to.  Probably what I'll end up doing is making a
> simple DTD for phptest and provide an option to export
> to that.

Fair enough.  Do try to look at least something like their spec, though,
as it looks like it's catching on with classware vendors.
Here's the spec in HTML:
http://www.imsglobal.org/question/qtiv1p2/imsqti_litev1p2.html
and here's an example multiple choice question.  For future reference only.
Hope it doesn't scare you too badly.
- Dan

<questestinterop>
  <item title="Standard Multiple Choice Item" 
ident="IMS_V01_I_QTILiteExample006">
    <presentation label="QTILiteExample006">
      <material>
        <mattext>Which </mattext>
        <matemtext>one </matemtext>
        <mattext>of the listed standards committees is responsible
             for developing the token ring specification ?
        </mattext>
      </material>
      <response_lid ident="MCb_01" rcardinality="Single" rtiming="No">
        <render_choice shuffle="Yes">
          <response_label ident="A">
            <material><mattext>IEEE 802.3</mattext></material>
          </response_label>
          <response_label ident="B">
            <material><mattext>IEEE 802.5</mattext></material>
          </response_label>
          <response_label ident="C">
            <material><mattext>IEEE 802.6</mattext></material>
          </response_label>
          <response_label ident="D">
            <material><mattext>IEEE 802.11</mattext></material>
          </response_label>
          <response_label ident="E" rshuffle="No">
            <material><mattext>None of the above.</mattext></material>
        </response_label>
        </render_choice>
      </response_lid>
    </presentation>
    <resprocessing>
      <outcomes>
        <decvar  vartype="Integer" defaultval="0"/>
      </outcomes>
      <respcondition title="Correct">
        <conditionvar>
          <varequal respident="MCb_01">B</varequal>
        </conditionvar>
        <setvar action="Set">1</setvar>
        <displayfeedback feedbacktype="Response" linkrefid="Correct"/>
      </respcondition>
    </resprocessing>
    <itemfeedback ident="Correct" view="Candidate">
        <material><mattext>Yes, you are right.</mattext></material>
    </itemfeedback>
  </item>
</questestinterop>

- Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]