R6 Class representing a LimeSurvey group

R6 Class representing a LimeSurvey group

Details

A group is mostly just a container for questions.

Public fields

group_name

The group name / title / label

description

The group description

grelevance

The relevance equation for the group

group_order

The group order (in the survey)

randomization_group

The randomization group (that the group is a part of)

language

The language of the group; or primary language, if there are multiple languages.

additional_languages

Any additional languages for the title and description elements.

id

The identifier of the group (a unique number in a survey)

sid

The identifier of the survey that this group belongs to

otherOptions

Any additional options, stored as a named list by assigning as.list(...).

questions

The questions in this group

Methods


Method new()

Create a new group object. Most of this text comes directly from the TSV manual page at https://www.limesurvey.org/manual/Tab_Separated_Value_survey_structure, so please see that page for more details.

Usage

Group$new(
  group_name = "",
  description = "",
  grelevance = 1,
  group_order = 1,
  randomization_group = NULL,
  language = "en",
  additional_languages = "",
  id = NULL,
  sid = NULL,
  new_id_fun = NULL,
  uqid = NULL,
  repo_url = "https://operationalizations.com/questionnaires/json",
  ...
)

Arguments

group_name

The title of the group (if there are multiple languages, a named vector where every element is the title in another language and every element's name is the language code).

description

The description of the group (if there are multiple languages, a named vector where every element is the title in another language and every element's name is the language code).

grelevance

The group's relevance equation

group_order

The group order (if the group is part of a survey)

randomization_group

The group's randomization group

language

The group's only or primary language

additional_languages

Any additional languages

id

Optionally, the id of the group.

sid

Optionally, the identifier of the survey that this group belongs to.

new_id_fun

A function to set identifiers (for XML exports, which mirrors MySQL tables and so needs identifiers). By default, new question objects receive this function from the group containing them; and groups receive it from the survey containing them. This ensures that identifiers are always unique in a survey (despite question objects not being able to 'see' anything in the group containing them, and group objects not being able to 'see' anything in the survey containing them; because they 'received' this function from the parent object, and it 'bubbles down' through groups to the questions, those functions still get and set a private identifier property in the 'top-most' object).

uqid

A Unique Questionnaire Identifier (UQID) to import a questionnaire and populate the group with it.

repo_url

The URL to a repo serving the questionnaire with the UQID in JSON.

...

Any additional options, stored as a named list in the otherOptions property by assigning as.list(...).

Returns

A new Group object.


Method add_question()

Add a question to a group object.

Usage

Group$add_question(
  code,
  type = NULL,
  lsType = NULL,
  question_order = NULL,
  ...
)

Arguments

code

The question code.

type

The question type.

lsType

The question type, as LimeSurvey question type.

question_order

The question order; automatically filled if left empty; starts counting at 0.

...

Additional arguments are used to create the Question using Question$new.

Returns

Invisibly, the thisQuestion object that was just added. Note that you can further modify this, which will modify the question object "in" the survey group as well. This allows you to pipe the question creation on to, for example, add answer options.


Method export_to_lsg()

Export the group as an LSG (xml) file.

Usage

Group$export_to_lsg(
  file = NULL,
  preventOverwriting = limonaid::opts$get("preventOverwriting"),
  encoding = limonaid::opts$get("encoding"),
  silent = limonaid::opts$get("silent"),
  backupLanguage = self$language
)

Arguments

file

The filename to which to save the file.

preventOverwriting

Whether to prevent overwriting.

encoding

The encoding to use

silent

Whether to be silent or chatty.

backupLanguage

The language to get content from if not from the primary langage.

parallel

Whether to work serially or in parallel.

Returns

Invisibly, the Survey object.


Method clone()

The objects of this class are cloneable with this method.

Usage

Group$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

myGroup <- limonaid::Group$new(
  group_name = "My Group"
);
myGroup$add_question(
  "testQuestion1",
  questionTexts = "First question",
  type="free text (short)"
);
myGroup$add_question(
  "testQuestion2",
  questionTexts = "Second question",
  type="radio"
);
myGroup$questions$testQuestion2$add_answer_option(
  "option1",
  "First option"
);
myGroup$questions$testQuestion2$add_answer_option(
  "option2",
  "Second option"
);

cat(as.character(myGroup$export_to_lsg()));
#> <?xml version="1.0" encoding="UTF-8"?>
#> <document>
#>   <LimeSurveyDocType>Group</LimeSurveyDocType>
#>   <DBVersion>495</DBVersion>
#>   <languages>
#>     <language>en</language>
#>   </languages>
#>   <groups>
#>     <fields>
#>       <fieldname>gid</fieldname>
#>       <fieldname>sid</fieldname>
#>       <fieldname>group_order</fieldname>
#>       <fieldname>randomization_group</fieldname>
#>       <fieldname>grelevance</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <gid><![CDATA[2]]></gid>
#>         <sid><![CDATA[1]]></sid>
#>         <group_order><![CDATA[1]]></group_order>
#>         <randomization_group/>
#>         <grelevance><![CDATA[1]]></grelevance>
#>       </row>
#>     </rows>
#>   </groups>
#>   <group_l10ns>
#>     <fields>
#>       <fieldname>id</fieldname>
#>       <fieldname>gid</fieldname>
#>       <fieldname>group_name</fieldname>
#>       <fieldname>description</fieldname>
#>       <fieldname>language</fieldname>
#>       <fieldname>sid</fieldname>
#>       <fieldname>group_order</fieldname>
#>       <fieldname>randomization_group</fieldname>
#>       <fieldname>grelevance</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <id><![CDATA[7]]></id>
#>         <gid><![CDATA[2]]></gid>
#>         <group_name><![CDATA[My Group]]></group_name>
#>         <description><![CDATA[]]></description>
#>         <language><![CDATA[en]]></language>
#>         <sid><![CDATA[1]]></sid>
#>         <group_order><![CDATA[1]]></group_order>
#>         <randomization_group/>
#>         <grelevance><![CDATA[1]]></grelevance>
#>       </row>
#>     </rows>
#>   </group_l10ns>
#>   <questions>
#>     <fields>
#>       <fieldname>qid</fieldname>
#>       <fieldname>parent_qid</fieldname>
#>       <fieldname>sid</fieldname>
#>       <fieldname>gid</fieldname>
#>       <fieldname>type</fieldname>
#>       <fieldname>title</fieldname>
#>       <fieldname>preg</fieldname>
#>       <fieldname>other</fieldname>
#>       <fieldname>mandatory</fieldname>
#>       <fieldname>question_order</fieldname>
#>       <fieldname>scale_id</fieldname>
#>       <fieldname>same_default</fieldname>
#>       <fieldname>relevance</fieldname>
#>       <fieldname>modulename</fieldname>
#>       <fieldname>encrypted</fieldname>
#>       <fieldname>question_theme_name</fieldname>
#>       <fieldname>same_script</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <parent_qid><![CDATA[0]]></parent_qid>
#>         <sid><![CDATA[1]]></sid>
#>         <gid><![CDATA[2]]></gid>
#>         <type><![CDATA[S]]></type>
#>         <title><![CDATA[testQuestion1]]></title>
#>         <preg/>
#>         <other><![CDATA[N]]></other>
#>         <mandatory><![CDATA[N]]></mandatory>
#>         <question_order><![CDATA[0]]></question_order>
#>         <scale_id/>
#>         <same_default><![CDATA[0]]></same_default>
#>         <relevance><![CDATA[1]]></relevance>
#>         <modulename/>
#>         <encrypted/>
#>         <question_theme_name/>
#>         <same_script/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <parent_qid><![CDATA[0]]></parent_qid>
#>         <sid><![CDATA[1]]></sid>
#>         <gid><![CDATA[2]]></gid>
#>         <type><![CDATA[L]]></type>
#>         <title><![CDATA[testQuestion2]]></title>
#>         <preg/>
#>         <other><![CDATA[N]]></other>
#>         <mandatory><![CDATA[N]]></mandatory>
#>         <question_order><![CDATA[1]]></question_order>
#>         <scale_id/>
#>         <same_default><![CDATA[0]]></same_default>
#>         <relevance><![CDATA[1]]></relevance>
#>         <modulename/>
#>         <encrypted/>
#>         <question_theme_name/>
#>         <same_script/>
#>       </row>
#>     </rows>
#>   </questions>
#>   <question_l10ns>
#>     <fields>
#>       <fieldname>id</fieldname>
#>       <fieldname>qid</fieldname>
#>       <fieldname>question</fieldname>
#>       <fieldname>help</fieldname>
#>       <fieldname>language</fieldname>
#>       <fieldname>script</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <id><![CDATA[8]]></id>
#>         <qid><![CDATA[3]]></qid>
#>         <question><![CDATA[First question]]></question>
#>         <help><![CDATA[]]></help>
#>         <language><![CDATA[en]]></language>
#>         <script/>
#>       </row>
#>       <row>
#>         <id><![CDATA[9]]></id>
#>         <qid><![CDATA[4]]></qid>
#>         <question><![CDATA[Second question]]></question>
#>         <help><![CDATA[]]></help>
#>         <language><![CDATA[en]]></language>
#>         <script/>
#>       </row>
#>     </rows>
#>   </question_l10ns>
#>   <answers>
#>     <fields>
#>       <fieldname>aid</fieldname>
#>       <fieldname>qid</fieldname>
#>       <fieldname>code</fieldname>
#>       <fieldname>sortorder</fieldname>
#>       <fieldname>assessment_value</fieldname>
#>       <fieldname>scale_id</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <aid><![CDATA[5]]></aid>
#>         <qid><![CDATA[4]]></qid>
#>         <code><![CDATA[option1]]></code>
#>         <sortorder><![CDATA[0]]></sortorder>
#>         <assessment_value><![CDATA[0]]></assessment_value>
#>         <scale_id><![CDATA[0]]></scale_id>
#>       </row>
#>       <row>
#>         <aid><![CDATA[6]]></aid>
#>         <qid><![CDATA[4]]></qid>
#>         <code><![CDATA[option2]]></code>
#>         <sortorder><![CDATA[1]]></sortorder>
#>         <assessment_value><![CDATA[0]]></assessment_value>
#>         <scale_id><![CDATA[0]]></scale_id>
#>       </row>
#>     </rows>
#>   </answers>
#>   <answer_l10ns>
#>     <fields>
#>       <fieldname>id</fieldname>
#>       <fieldname>aid</fieldname>
#>       <fieldname>answer</fieldname>
#>       <fieldname>language</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <id><![CDATA[10]]></id>
#>         <aid><![CDATA[5]]></aid>
#>         <answer><![CDATA[First option]]></answer>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <id><![CDATA[11]]></id>
#>         <aid><![CDATA[6]]></aid>
#>         <answer><![CDATA[Second option]]></answer>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>     </rows>
#>   </answer_l10ns>
#>   <question_attributes>
#>     <fields>
#>       <fieldname>qid</fieldname>
#>       <fieldname>attribute</fieldname>
#>       <fieldname>value</fieldname>
#>       <fieldname>language</fieldname>
#>     </fields>
#>     <rows>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[random_group]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[em_validation_q]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[em_validation_q_tip]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[prefix]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[suffix]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[hide_tip]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[text_input_width]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[input_size]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[display_rows]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[hidden]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[cssclass]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[maximum_chars]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[page_break]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[numbers_only]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_action]]></attribute>
#>         <value><![CDATA[1]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_disable_next]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_disable_prev]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_countdown_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_timer_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_message_delay]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_message_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_display_time]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[statistics_showmap]]></attribute>
#>         <value><![CDATA[1]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[statistics_showgraph]]></attribute>
#>         <value><![CDATA[1]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[statistics_graphtype]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_mapservice]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_nodefaultfromip]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_postal]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_city]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_state]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_country]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_mapzoom]]></attribute>
#>         <value><![CDATA[11]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_defaultcoordinates]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_mapwidth]]></attribute>
#>         <value><![CDATA[500]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[location_mapheight]]></attribute>
#>         <value><![CDATA[300]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[3]]></qid>
#>         <attribute><![CDATA[save_as_default]]></attribute>
#>         <value><![CDATA[N]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[other_comment_mandatory]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[other_numbers_only]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[array_filter_exclude]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[array_filter_style]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[array_filter]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[random_group]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[em_validation_q]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[em_validation_q_tip]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[keep_aspect]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[horizontal_scroll]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[crop_or_resize]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[fix_width]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[fix_height]]></attribute>
#>         <value><![CDATA[200]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[other_replace_text]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[display_columns]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[hide_tip]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[answer_order]]></attribute>
#>         <value><![CDATA[normal]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[hidden]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[cssclass]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[other_position]]></attribute>
#>         <value><![CDATA[default]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[other_position_code]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[printable_help]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[page_break]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[scale_export]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_action]]></attribute>
#>         <value><![CDATA[1]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_disable_next]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_disable_prev]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_countdown_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_timer_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_message_delay]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_message_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_display_time]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2_display_time]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2_message]]></attribute>
#>         <value/>
#>         <language><![CDATA[en]]></language>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[time_limit_warning_2_style]]></attribute>
#>         <value/>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[public_statistics]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[statistics_showgraph]]></attribute>
#>         <value><![CDATA[1]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[statistics_graphtype]]></attribute>
#>         <value><![CDATA[0]]></value>
#>         <language/>
#>       </row>
#>       <row>
#>         <qid><![CDATA[4]]></qid>
#>         <attribute><![CDATA[save_as_default]]></attribute>
#>         <value><![CDATA[N]]></value>
#>         <language/>
#>       </row>
#>     </rows>
#>   </question_attributes>
#> </document>