Professional > Interview scripting > Interview Scripting reference > Template XML schema > mrPage element
 
mrPage element
Defines the HTML generation settings for the page. All formatting should be defined via CSS.
Attributes for mrPage
BannerTemplate
The relative path to the banner template to use when replacing mrData tags that specify a question Banner element.
Use: optional
Valid values: string
ErrorTemplate
The relative path to the error template to use when replacing mrData tags that specify a question Error element.
Use: optional
Valid values: string
GridTemplate
The relative path to the grid template to use to format loop categorical and loop numeric questions
Use: optional
Valid values: string
IncludeCSSNames
Controls whether CSS class names will be added to the rendered HTML.
Use: optional
Valid values: boolean
IncludeElementIDs
Controls whether IDs will be added for elements in the rendered HTML.
Note This may need to change to an enum to control where IDs get added.
Use: optional
Valid values: boolean
IncludeGridControlAltLabels
Controls whether alternative text will be added to the rendered HTML for controls within a table. This attribute must be included in the template, and set to True, in order for rendered grid questions to be 508 compliant (and for 508 compliant screen readers to properly read the questions).
Use: optional
Valid values: boolean
IncludeLabelIDs
True inserts aria-labelledby attributes in the output. These attributes are used by screen‑readers: they are added to unlabeled controls such as “other specify” input boxes and radio buttons in grids to indicate their parent controls.
Use: optional
Valid values: boolean
IncludeTableHeadings
Controls whether row/column headings will be added to the rendered HTML for table questions.
Use: optional
Valid values: boolean
LabelXSL
The relative path to the label XSL file to use when creating HTML for the question label element.
Use: optional
Valid values: string
NavBarTemplate
The relative path to the NavBar template to use when replacing mrNavBar tags.
Use: optional
Valid values: string
NavgationXSL
The relative path to the question XSL file to use when creating HTML for the navigation element.
Use: optional
Valid values: string
PageTimeout
mrIWeb will use this attribute value as the timeout value (in seconds) when set.
Use: optional
Valid values: longInteger
QuestionTemplate
The relative path to the question template to use when replacing mrData tags that do not specify a question element.
Use: optional
Valid values: string
QuestionXSL
The relative path to the question XSL file to use when creating HTML for the question element.
Use: optional
Valid values: string
UseNameAsElementID
Controls Whether the ID and name should be the same.
Use: optional
Valid values: boolean
UseTablesLayout
Uses the table layout for single row and column categorical lists.
Use: optional
Valid values: boolean
XML representation
<xs:element name="mrPage">
  <xs:attribute name="IncludeCSSNames" type="xs:boolean" use="optional" default="true"/>
  <xs:attribute name="IncludeElementIDs" type="xs:boolean" use="optional" default="false"/>
  <xs:attribute name="IncludeGridControlAltLabels" type="xs:boolean" use="optional" default="false"/>
  <xs:attribute name="IncludeTableHeadings" type="xs:boolean" use="optional" default="false"/>
  <xs:attribute name="QuestionTemplate" type="xs:string" use="optional"/>
  <xs:attribute name="NavBarTemplate" type="xs:string" use="optional"/>
  <xs:attribute name="ErrorTemplate" type="xs:string" use="optional"/>
  <xs:attribute name="BannerTemplate" type="xs:string" use="optional"/>
  <xs:attribute name="GridTemplate" type="xs:string" use="optional"/>
  <xs:attribute name="LabelXSL" type="xs:string" use="optional"/>
  <xs:attribute name="QuestionXSL" type="xs:string" use="optional"/>
  <xs:attribute name="NavgationXSL" type="xs:string" use="optional"/>
  <xs:attribute name="PageTimeout" type="xs:longInteger" use="optional"/>
  <xs:attribute name="UseTablesLayout" type="xs:boolean" use="optional"/>
  <xs:attribute name="UseNameAsElementID" type="xs:boolean" use="optional"/>
</xs:element>
See also
Template XML schema