1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/docs/overview.html Sat Jul 16 19:25:13 2005 +0000
1.3 @@ -0,0 +1,46 @@
1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
1.6 +<head>
1.7 + <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" />
1.8 + <title>Creating Applications: An Overview</title>
1.9 + <meta name="generator"
1.10 + content="amaya 8.1a, see http://www.w3.org/Amaya/" />
1.11 + <link href="styles.css" rel="stylesheet" type="text/css" />
1.12 +</head>
1.13 +<body>
1.14 +<h1>Creating Applications: An Overview</h1>
1.15 +<p>The following steps briefly describe how to make a new application:<br />
1.16 +</p>
1.17 +<ol>
1.18 + <li>Design a template, adding forms and fields. In the beginning, it
1.19 +is not that important to use the correct names in each of the fields -
1.20 +these will be added later.</li>
1.21 + <li>Add structural template attributes such as template:element,
1.22 +template:attribute and template:value so that the fields sit in
1.23 +different parts of the input document format being modelled. Replace
1.24 +the field names with special functions such as template:field-name().
1.25 +For buttons which add and remove parts of the input document, employ
1.26 +selector notation and the template:this-position() function.</li>
1.27 + <li>Where multiple choice fields are employed, input documents must
1.28 +be transformed so that the multiple choice options are included in the
1.29 +output. This can be achieved using documents containing the different
1.30 +option values and transformations which insert those values into the
1.31 +input document.</li>
1.32 + <li>To produce the output document, the template needs preparing
1.33 +first so that an output stylesheet is produced; then, the output
1.34 +stylesheet is applied to the processed input document utilising various
1.35 +extension functions which produce the computed field names in the final
1.36 +output document.</li>
1.37 +</ol>
1.38 +<h2>Recommendations</h2>
1.39 +<ol>
1.40 + <li>Where multiple fields exist and can be added and removed, put
1.41 +them inside a separate element so that the selectors can successfully
1.42 +identify them. Otherwise, changing element orders can result in the
1.43 +wrong element being selected.</li>
1.44 + <li>Make sure that transformations on the input document produce all
1.45 +the necessary elements for the output document so that the resulting
1.46 +page gives the user the opportunity to specify data that is missing.</li>
1.47 +</ol>
1.48 +</body>
1.49 +</html>