XSLTools

docs/model.html

673:cb3f3f87d086
2008-11-16 Paul Boddie Enhanced the questionnaire generator, permitting textual answers before or after choices and removing the redundant textual answer input field. Added a preview of the questionnaire.
     1 <?xml version="1.0" encoding="iso-8859-1"?>     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">     3 <html xmlns="http://www.w3.org/1999/xhtml">     4 <head>     5   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />     6   <title>The XSLForms Conceptual Model</title>     7   <link href="styles.css" rel="stylesheet" type="text/css" />     8 </head>     9 <body>    10     11 <h1>The XSLForms Conceptual Model</h1>    12     13 <p>In applications based on XSLForms, form data is modelled and processed as XML documents as shown in the following diagram:</p>    14     15 <table style="text-align: left; width: 80%;" align="center" border="0" cellpadding="5" cellspacing="5">    16   <tbody>    17     <tr>    18       <td align="undefined" valign="undefined"></td>    19       <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(193, 255, 102); text-align: center; vertical-align: top;">Application<br />    20       <span class="method">Starting with an initial XML document...</span></th>    21       <th style="text-align: center; vertical-align: top;">XSLForms<br />    22       <span class="method">A template is used together with the XML document to produce a Web page...</span></th>    23       <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(255, 204, 255); text-align: center; vertical-align: top;">Browser<br />    24       <span class="method">The Web page contains a form which is filled out by users of the application and submitted back to the application...</span></th>    25     </tr>    26     <tr>    27       <th style="text-align: center; vertical-align: top;">XSLForms<br />    28       <span class="method">The incoming form data is converted to an XML document...</span></th>    29       <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(193, 255, 102); text-align: center; vertical-align: top;">Application<br />    30       <span class="method">The incoming XML document is processed, validated, and so on...</span></th>    31       <th style="text-align: center; vertical-align: top;">XSLForms<span class="method">A template is used together with the new XML document to produce a Web page...</span></th>    32       <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(255, 204, 255); text-align: center; vertical-align: top;">Browser<span class="method">An updated Web page is shown to the user. The page may contain a form which may be filled out and submitted...</span></th>    33     </tr>    34   </tbody>    35 </table>    36     37 <p>The XSLForms framework therefore performs two main functions:</p>    38     39 <ul>    40   <li>To present XML documents as Web pages containing forms.</li>    41   <li>To interpret submitted Web form information and to convert that information to XML.</li>    42 </ul>    43     44 </body>    45 </html>