Export Online Quiz to XML Tool

This entire chapter refers to a feature that was added in version 4.8.1

The Export Online Quiz to XML Tool allows you to take an Online Quiz, including its associated Online Quiz Question Group and Multiple-Choice Question assets, and export its details to an XML file. The format of this file is compliant with existing Sharable Content Object Reference Model (SCORM) standards, providing compatibility with other e-learning software.

Export Online Quiz to XML

The Export Online Quiz to XML Tool section of the Export Online Quiz to XML Tool screen is shown in the figure below.

5-0-0_export-online-quiz-to-xml-tool.png
The Export Online Quiz to XML Tool section of the Export Online Quiz to XML Tool Screen

To export an Online Quiz, select an asset in the Root Node field. All Online Quiz and associated assets under this root node will be processed and exported as an XML file.

Select the asset types to export in the Asset Types field. In addition to Online Quiz assets, you can also select to export Standard Page assets. This allows you to export supplementary information alongside the Online Quiz.

If you have selected to also export Standard Page assets, you can configure the export settings of these assets in the Standard Page Export Settings section, shown in the figure below. 

5-0-0_standard-page-export-settings.png
The Standard Page Export Settings section of the Export Online Quiz to XML Tool Screen

In the Paint Method field, select either Raw (no Paint Layout) or Using default Paint Layout (based on lookup rules) to specify whether or not to export Standard Pages using any default Paint Layouts that are applied on the asset.

The Start Tag and End Tag fields allow you specify the content tags from where to extract content from exported Standard Page assets.

When you have configured the export settings, clicking Commit will allow Squiz Matrix to begin the export process for the Online Quiz assets and create the resulting XML file. Once this is completed, you can download the XML file via the Download link on the Export Online Quiz to XML Tool screen, shown in the figure below.

5-0-0_download.png
The Download link

Example Format

An example XML format of the exported Online Quiz is as follows:

<?xml version="1.0" encoding="utf-8"?>
<data_export>
  <folder assetid="10625">
    <name><![CDATA[Quiz]]></name>
    <page_online_quiz assetid="10626">
      <name><![CDATA[Online Quiz Page]]></name>
      <online_quiz_question_group assetid="10782" pool_nodes="13059,13060">
        <name><![CDATA[Online Quiz Question Group]]></name>
        <score_category>
          <name><![CDATA[PASS]]></name>
          <min_score>2</min_score>
          <max_score>3</max_score>
          <content><![CDATA[you passed]]></content>
        </score_category>
        <score_category>
          <name><![CDATA[FAIL]]></name>
          <min_score>0</min_score>
          <max_score>1</max_score>
          <content><![CDATA[you failed]]></content>
        </score_category>
      </online_quiz_question_group>
      <pool_node id="13059">
        <size>2</size>
        <retries>1</retries>
        <order>1</order>
        <online_quiz_question_multichoice assetid="10650">
          <name><![CDATA[question 1 pool 1]]></name>
          <question_text><![CDATA[question 1 pool 1 text]]></question_text>
          <question_note><![CDATA[question 1 pool 1 note]]></question_note>
          <option>
            <text><![CDATA[q1 a]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q1 a supplement<br>]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q1 b]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q1 b supplement]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q1 c]]></text>
            <points>0</points>
            <response_supplement><![CDATA[q1 c supplement]]></response_supplement>
          </option>
        </online_quiz_question_multichoice>
        <online_quiz_question_multichoice assetid="10656">
          <name><![CDATA[question 2 pool 1]]></name>
          <question_text><![CDATA[question 2 pool 1 text]]></question_text>
          <question_note><![CDATA[question 2 pool 1 note]]></question_note>
          <option>
            <text><![CDATA[q2 a]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q2a supplement]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q2 b]]></text>
            <points>0</points>
            <response_supplement><![CDATA[q2 b supplement]]></response_supplement>
          </option>
        </online_quiz_question_multichoice>
        <online_quiz_question_multichoice assetid="10732">
          <name><![CDATA[question 3 pool 1]]></name>
          <question_text><![CDATA[question 3 pool 1 text]]></question_text>
          <question_note><![CDATA[question 3 pool 1 note]]></question_note>
          <option>
            <text><![CDATA[q3 a]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q3 a supplement<br>]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q3 b]]></text>
            <points>0</points>
            <response_supplement><![CDATA[q3 b supplement]]></response_supplement>
          </option>
        </online_quiz_question_multichoice>
        <online_quiz_question_multichoice assetid="10759">
          <name><![CDATA[question 4 pool 1]]></name>
          <question_text><![CDATA[question 4 pool 1 text]]></question_text>
          <question_note><![CDATA[question 4 pool 1 note]]></question_note>
          <option>
            <text><![CDATA[q4 a]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q4 a supplement]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q4 b]]></text>
            <points>0</points>
            <response_supplement><![CDATA[q4 b supplement]]></response_supplement>
          </option>
        </online_quiz_question_multichoice>
      </pool_node>
      <pool_node id="13060">
        <size>2</size>
        <retries>0</retries>
        <order>2</order>
        <online_quiz_question_multichoice assetid="10688">
          <name><![CDATA[question 1 pool 2]]></name>
          <question_text><![CDATA[question 1 pool 2 text]]></question_text>
          <question_note><![CDATA[question 1 pool 2 note]]></question_note>
          <option>
            <text><![CDATA[q1 a pool 2]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q1 a pool 2 supplement]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q1 b pool 2]]></text>
            <points>0</points>
            <response_supplement><![CDATA[q1 b pool 2 supplement]]></response_supplement>
          </option>
        </online_quiz_question_multichoice>
        <online_quiz_question_multichoice assetid="10692">
          <name><![CDATA[question 2 pool 2]]></name>
          <question_text><![CDATA[question 2 pool 2 text]]></question_text>
          <question_note><![CDATA[question 2 pool 2 note]]></question_note>
          <option>
            <text><![CDATA[q2 a pool 2]]></text>
            <points>1</points>
            <response_supplement><![CDATA[q2 a pool 2 supplement]]></response_supplement>
          </option>
          <option>
            <text><![CDATA[q2 b pool 2]]></text>
            <points>0</points>
            <response_supplement><![CDATA[q2 b pool 2 supplement]]></response_supplement>
          </option>
        </online_quiz_question_multichoice>
      </pool_node>
    </page_online_quiz>
    <folder assetid="13059">
      <name><![CDATA[Question Pool 1]]></name>
    </folder>
    <folder assetid="13060">
      <name><![CDATA[Question Pool 2]]></name>
    </folder>
    <page_standard assetid="12609">
      <name><![CDATA[std 1]]></name>
      <short_name><![CDATA[std 1]]></short_name>
      <contents><![CDATA[<div id="content_div_12611">
std 1 contents

</div>]]></contents>
      <page_standard assetid="12621">
        <name><![CDATA[std 1.1]]></name>
        <short_name><![CDATA[std 1.1]]></short_name>
        <contents><![CDATA[<div id="content_div_12623">

</div>]]></contents>
        <page_standard assetid="12629">
          <name><![CDATA[std 1.1.1]]></name>
          <short_name><![CDATA[std 1.1.1]]></short_name>
          <contents><![CDATA[<div id="content_div_12631">

</div>]]></contents>
        </page_standard>
      </page_standard>
      <page_standard assetid="12625">
        <name><![CDATA[std 1.2]]></name>
        <short_name><![CDATA[std 1.2]]></short_name>
        <contents><![CDATA[<div id="content_div_12627">
<br />

</div>]]></contents>
      </page_standard>
    </page_standard>
  </folder>
</data_export>

PreviousFinish