********************************************** Xml format of poll module [xmodule] ********************************************** .. module:: poll_module Format description ================== The main tag of Poll module input is: .. code-block:: xml ... ``poll_question`` can include any number of the following tags: any xml and ``answer`` tag. All inner xml, except for ``answer`` tags, we call "question". poll_question tag ----------------- Xmodule for creating poll functionality - voting system. The following attributes can be specified for this tag:: name - Name of xmodule. [display_name| AUTOGENERATE] - Display name of xmodule. When this attribute is not defined - display name autogenerate with some hash. [reset | False] - Can reset/revote many time (value = True/False) answer tag ---------- Define one of the possible answer for poll module. The following attributes can be specified for this tag:: id - unique identifier (using to identify the different answers) Inner text - Display text for answer choice. Example ======= Examples of poll ---------------- .. code-block:: xml

Age

How old are you?

< 18 from 10 to 25 > 25
Examples of poll with unable reset functionality ------------------------------------------------ .. code-block:: xml

Your gender

You are man or woman?

Man Woman