1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/README.txt Thu Dec 30 02:01:45 2004 +0000
1.3 @@ -0,0 +1,35 @@
1.4 +Steps for making a new application:
1.5 +
1.6 + 1. Design a template, adding forms and fields. In the beginning, it is not
1.7 + that important to use the correct names in each of the fields - these
1.8 + will be added later.
1.9 +
1.10 + 2. Add structural template attributes such as template:element,
1.11 + template:attribute and template:value so that the fields sit in
1.12 + different parts of the input document format being modelled. Replace
1.13 + the field names with special functions such as template:field-name().
1.14 + For buttons which add and remove parts of the input document, employ
1.15 + selector notation and the template:this-position() function.
1.16 +
1.17 + 3. Where multiple choice fields are employed, input documents must be
1.18 + transformed so that the multiple choice options are included in the
1.19 + output. This can be achieved using documents containing the different
1.20 + option values and transformations which insert those values into the
1.21 + input document.
1.22 +
1.23 + 4. To produce the output document, the template needs preparing first so
1.24 + that an output stylesheet is produced; then, the output stylesheet is
1.25 + applied to the processed input document utilising various extension
1.26 + functions which produce the computed field names in the final output
1.27 + document.
1.28 +
1.29 +Recommendations:
1.30 +
1.31 + * Where multiple fields exist and can be added and removed, put them
1.32 + inside a separate element so that the selectors can successfully
1.33 + identify them. Otherwise, changing element orders can result in the
1.34 + wrong element being selected.
1.35 +
1.36 + * Make sure that transformations on the input document produce all the
1.37 + necessary elements for the output document so that the resulting page
1.38 + gives the user the opportunity to specify data that is missing.