Inline example
Categories can be rendered as sublists, using subheadings, or with category lists. The categories can be rendered in a single, inline list.
Metadata script: Inline method 1
Q1 "Q1" categorical
{
List1 inline "Sub heading 1"
{ a "a", b "b", c "c" },
List2 inline "Sub heading 2"
{ x "x", y "y", z "z" }
};
Metadata script: Inline method 2
List1 "Sub heading 1" categorical
{ a "a", b "b", c "c" };
List2 "Sub heading 2"
{ x "x", y "y", z "z" };
Q1 "Q1" categorical
{
use List1,
use List2
};
Rendered
XML
<Question QuestionFullName="Q1" QuestionDataType="Categorical">
<Category Name="List1" Value="38" CategoryType="CategoryList"
<Category Name=”a” Value="35">...</Category>
<Category Name="b" Value="36">...</Category>
<Category Name="c" Value="37">...</Category>
</Category>
<Category Name="List2" Value="43" CategoryType="CategoryList">
<Category Name="x" Value="32">...</Category>
<Category Name="y" Value="33">...</Category>
<Category Name="z" Value="34">...</Category>
</Category>
</Question>
See also