XSLTools

Annotated docs/model.html

178:7e7d9dbcec62
2005-07-22 paulb [project @ 2005-07-22 18:26:38 by paulb] Tidied up the function names and added some API documentation. Added child-element and child-attribute functions for coherent references to potentially non-existent nodes in the form data.
paulb@119 1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
paulb@119 2
<html xmlns="http://www.w3.org/1999/xhtml">
paulb@119 3
<head>
paulb@119 4
paulb@119 5
paulb@129 6
paulb@129 7
  
paulb@119 8
  
paulb@119 9
  
paulb@119 10
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />
paulb@119 11
paulb@119 12
paulb@129 13
paulb@129 14
  
paulb@129 15
  
paulb@119 16
  
paulb@119 17
  
paulb@119 18
  
paulb@119 19
  
paulb@119 20
  <title>The XSLForms Conceptual Model</title>
paulb@119 21
  <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" />
paulb@119 22
paulb@119 23
paulb@129 24
paulb@129 25
  
paulb@119 26
  
paulb@119 27
  
paulb@119 28
  <link href="styles.css" rel="stylesheet" type="text/css" />
paulb@119 29
</head>
paulb@119 30
paulb@119 31
paulb@119 32
<body>
paulb@129 33
paulb@119 34
<h1>The XSLForms Conceptual Model</h1>
paulb@119 35
paulb@129 36
paulb@129 37
<p>In&nbsp;applications based on XSLForms, form data is modelled and processed as XML documents as shown in the following diagram:</p>
paulb@129 38
paulb@119 39
<table style="text-align: left; width: 80%;" align="center" border="0" cellpadding="5" cellspacing="5">
paulb@129 40
paulb@119 41
  <tbody>
paulb@129 42
paulb@119 43
    <tr>
paulb@129 44
paulb@119 45
      <td align="undefined" valign="undefined"></td>
paulb@129 46
paulb@119 47
      <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(193, 255, 102); text-align: center; vertical-align: top;">Application<br />
paulb@129 48
paulb@119 49
      <span class="method">Starting with an initial XML document...</span></th>
paulb@129 50
paulb@119 51
      <th style="text-align: center; vertical-align: top;">XSLForms<br />
paulb@129 52
paulb@119 53
      <span class="method">A template is used together with the XML document to produce a Web page...</span></th>
paulb@129 54
paulb@119 55
      <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(255, 204, 255); text-align: center; vertical-align: top;">Browser<br />
paulb@129 56
paulb@119 57
      <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>
paulb@129 58
paulb@119 59
    </tr>
paulb@129 60
paulb@119 61
    <tr>
paulb@129 62
paulb@119 63
      <th style="text-align: center; vertical-align: top;">XSLForms<br />
paulb@129 64
paulb@119 65
      <span class="method">The incoming form data is converted to an XML document...</span></th>
paulb@129 66
paulb@119 67
      <th style="border: 1px solid rgb(0, 0, 0); background-color: rgb(193, 255, 102); text-align: center; vertical-align: top;">Application<br />
paulb@129 68
paulb@119 69
      <span class="method">The incoming XML document is processed, validated, and so on...</span></th>
paulb@129 70
paulb@119 71
      <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>
paulb@129 72
paulb@119 73
      <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>
paulb@129 74
paulb@119 75
    </tr>
paulb@129 76
paulb@129 77
  
paulb@119 78
  </tbody>
paulb@119 79
</table>
paulb@129 80
paulb@119 81
<p>The XSLForms framework therefore performs two main functions:</p>
paulb@129 82
paulb@119 83
<ul>
paulb@129 84
paulb@119 85
  <li>To present XML documents as Web pages containing forms.</li>
paulb@129 86
paulb@119 87
  <li>To interpret submitted Web form information and to convert that information to XML.</li>
paulb@129 88
paulb@119 89
</ul>
paulb@129 90
paulb@119 91
</body>
paulb@119 92
</html>