<?xml version="1.0" encoding="UTF-8"?>
<otrunk id="874b8410-3938-012a-b543-0017f2cc694e">
  <imports>
    <import class="org.concord.otrunk.OTSystem" />
    <import class="org.concord.otrunk.view.OTViewEntry" />
    <import class="org.concord.otrunk.view.OTViewBundle" />
    <import class="org.concord.otrunk.view.document.OTCompoundDoc" />
    <import class="org.concord.otrunk.view.document.OTTextObject" />
    <import class="org.concord.otrunkmw.OTModelerPage" />
    <import class="org.concord.otrunk.ui.OTText" />
    <import class="org.concord.otrunk.view.document.OTDocumentViewConfig" />
    <import class="org.concord.otrunk.ui.OTTextPane" />
    <import class="org.concord.otrunk.ui.OTPlacementContainer" />
    <import class="org.concord.otrunk.ui.OTPlacement" />
    <import class="org.concord.framework.otrunk.view.OTFrame" />
    <import class="org.concord.otrunk.ui.OTChoice" />
    <import class="org.concord.otrunk.ui.question.OTQuestion" />
  </imports>
  <objects>
    <OTSystem>
      <bundles>
        <OTViewBundle showLeftPanel="false">
          <views>
            <OTViewEntry objectClass="org.concord.otrunkmw.OTModelerPage" viewClass="org.concord.otrunkmw.OTModelerPageView" />
            <OTViewEntry objectClass="org.concord.otrunk.ui.OTTextPane" viewClass="org.concord.otrunk.ui.swing.OTTextPaneView" />
            <OTViewEntry objectClass="org.concord.otrunk.ui.OTPlacementContainer" viewClass="org.concord.otrunk.ui.swing.OTPlacementContainerView" />
            <OTViewEntry objectClass="org.concord.otrunk.script.ui.OTScriptObject" viewClass="org.concord.otrunk.script.ui.OTScriptObjectView" />
            <OTDocumentViewConfig objectClass="org.concord.otrunk.view.document.OTDocument" viewClass="org.concord.otrunk.view.document.OTDocumentView">
              <css>body { font-size: medium; font-family:
								verdana; background-color: white; } .sub
								{ font-size: x-small; } .header {
								font-size: large; font-weight: bold; }</css>
            </OTDocumentViewConfig>
          </views>
          <frame>
            <OTFrame width="800" height="600" />
          </frame>
        </OTViewBundle>
      </bundles>
      <root>
        <OTCompoundDoc>
          <bodyText>
            <p>
              <center>
                <font size="6">
                  <b>Converting MW questions into OT
										objects</b>
                </font>
              </center>
            </p>
            <p>
              <font size="4">
                This page demonstrates that MW questions
								can be converted into OT objects and
								learner data can persist.
                <br />
                <br />
                <hr />
                <br />
                <br />
              </font>
            </p>
            <center>
              <object refid="${mwpage}" />
            </center>
          </bodyText>
          <documentRefs>
            <OTModelerPage local_id="mwpage" authoredDataURL="mwquestions.cml">
              <questions>
                <OTQuestion>
                  <prompt>
                    <OTText text="Multiple choice question (single selection):" />
                  </prompt>
                  <input>
                    <OTChoice selectionUI="0">
                      <choices>
                        <OTText id="fe5a363c-3e30-11dd-9bb2-2f1c46aad39f" text="choice 1" />
                        <OTText text="choice 2" />
                        <OTText text="choice 3" />
                        <OTText text="choice 4" />
                      </choices>
                      <correctChoice>
                        <object refid="fe5a363c-3e30-11dd-9bb2-2f1c46aad39f" />
                      </correctChoice>
                    </OTChoice>
                  </input>
                </OTQuestion>
                <OTQuestion>
                  <prompt>
                    <OTText text="Multiple choice question (multiple selection):" />
                  </prompt>
                  <input>
                    <OTChoice selectionUI="1">
                      <choices>
                        <OTText id="fe5af993-3e30-11dd-9bb2-2f1c46aad39f" text="choice 1" />
                        <OTText text="choice 2" />
                        <OTText text="choice 3" />
                        <OTText id="fe5b6ec6-3e30-11dd-9bb2-2f1c46aad39f" text="choice 4" />
                      </choices>
                      <correctChoices>
                        <object refid="fe5af993-3e30-11dd-9bb2-2f1c46aad39f" />
                        <object refid="fe5b6ec6-3e30-11dd-9bb2-2f1c46aad39f" />
                      </correctChoices>
                    </OTChoice>
                  </input>
                </OTQuestion>
              </questions>
            </OTModelerPage>
          </documentRefs>
        </OTCompoundDoc>
      </root>
    </OTSystem>
  </objects>
</otrunk>

