Example 17-20: XSQL page builds example form structure

<?xml version="1.0"?>
<!-- DataFormExample.xsql: Example page with abstract form stucture def'n -->
<page>
  <dataform target="News.xsql" submit="SubmitButtonTitle">
    <item type="text" name="nameOfTextControl" label="Text">
       This that and the other
    </item>
    <item type="checkboxlist" name="nameOfCheckBoxList" label="CheckBoxList">
      <ROWSET>
        <ROW><VALUE>4</VALUE><DISPLAY>This</DISPLAY></ROW>
        <ROW><VALUE>5</VALUE><DISPLAY>That</DISPLAY><SELECTED>Y</SELECTED></ROW>
        <ROW><VALUE>6</VALUE><DISPLAY>The Other</DISPLAY></ROW>
      </ROWSET>
    </item>
    <item type="list" name="nameOfList" label="List">
      <default>Y</default>
      <ROWSET>
        <ROW><VALUE>X</VALUE><DISPLAY>This</DISPLAY></ROW>
        <ROW><VALUE>Y</VALUE><DISPLAY>That</DISPLAY></ROW>
        <ROW><VALUE>Z</VALUE><DISPLAY>The Other</DISPLAY></ROW>
      </ROWSET>
    </item>
    <item type="textarea" name="nameOfTextArea" size="40" label="TextArea">
      This that and the other This that and the other This that and the other
      This that and the other This that and the other This that and the other
    </item>
  </dataform>
</page>