Interviewer - Server > Architecture > HTML players > Customizing the Interviewer Server client against XML Player > Results returned by RenderHTML method
 
Results returned by RenderHTML method
The default XML Layout template is:
<html>
  <head>
    <title>XML Player</title>
  </head>
  <body>
    <textarea name="PlayerXml" style="width: 100%;" rows="30"></textarea>
    <input type="submit" value="Next" />
  </body>
</html>
The form information, as well as interview parameters, are added during rendering. Page elements are added under the textarea element. See Player XML schema for detailed Page element format information.
The following is an example of XML Player rendered for a categorical question:
<html>
<head>
<title>XML Player</title>
</head>
<body>
<form name="mrForm" id="mrForm" action="/mrIWeb/mrIWeb.dll" method="post">
<input type="hidden" name="I.Engine" value="engine2"/>
<input type="hidden" name="I.Project" value="Employee"/>
<input type="hidden" name="I.Session" value="m4y3wz4ztvuuhcm5u2k1y5nb1qaqaaaa"/>
<input type="hidden" name="I.SavePoint" value="Gender"/>
<input type="hidden" name="I.Renderer" value="XMLPlayer"/>
<textarea name="PlayerXml" style="width: 100%;" rows="30">
<Page SavePoint="Gender" Version="1" Project="EMPLOYEE" Language="en-US" Context="Question" LabelType="Label" RoutingContext="Paper" LayoutTemplate="DefaultLayout.htm" SessionToken="m4y3wz4ztvuuhcm5u2k1y5nb1qaqaaaa" EstimatedPages="1" Renderer="XMLPlayer">
<Title>
<Style ElementAlign="Right"/>
<Text>Gender</Text>
</Title>
<Question QuestionName="Gender" QuestionFullName="Gender" QuestionDataType="Categorical">
<Style ElementAlign="NewLine" Indent="1" Columns="1"/>
<Label>
<Style ElementAlign="NewLine"/>
<Text>Please input your gender.</Text>
</Label>
<Category Name="Male" IsExclusive="true">
<Style ElementAlign="NewLine" Indent="1">
<Control Type="RadioButton"/>
</Style>
<Label>
<Style ElementAlign="Right"/>
<Text>Male</Text>
</Label>
</Category>
<Category Name="Female" IsExclusive="true">
<Style ElementAlign="NewLine" Indent="1">
<Control Type="RadioButton"/>
</Style>
<Label>
<Style ElementAlign="Right"/>
<Text>Female</Text>
</Label>
</Category>
<Validation MinValue="1" MaxValue="1"/>
<Response>
<Value></Value>
</Response>
</Question>
<Navigation Type="Next" IsDefault="true">
<Style ElementAlign="Right" Width="70px">
<Control Type="Button"/>
</Style>
<Label>
<Style Align="Center" ElementAlign="NewLine"/>
<Text>Next</Text>
</Label>
</Navigation>
<Navigation Type="Stop">
<Style ElementAlign="Right" Width="70px">
<Control Type="Button"/>
</Style>
<Label>
<Style Align="Center" ElementAlign="NewLine"/>
<Text>Stop</Text>
</Label>
</Navigation>
</Page>
</textarea>
<input type="submit" value="Next"/>
</form>
</body>
</html>
See also
Customizing the Interviewer Server client against XML Player