# HG changeset patch # User paulb # Date 1128474266 0 # Node ID ff3f7350bddfc67c8ca02a55f444babc7201f29b # Parent 56afb296234f594db88c398d0ebfeaccb23c52d3 [project @ 2005-10-05 01:04:26 by paulb] Added a template attribute reference document. diff -r 56afb296234f -r ff3f7350bddf docs/reference.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/reference.html Wed Oct 05 01:04:26 2005 +0000 @@ -0,0 +1,27 @@ + +
This document presents each of the attributes used in +templates to annotate the structure of the XML documents being +presented.
Attribute | Purpose | Parameter +Formats | Suitable HTML Elements | Related +Attributes | Implementing Attributes |
---|---|---|---|---|---|
template:element | Marks a section corresponding to an +element. Many element names can be given to provide a path into the +document. | element-name | Almost any | ||
element-name1, element-name2, ... | |||||
template:attribute | Marks a section +corresponding to an attribute. | attribute-name | Almost any | ||
template:attribute-field | Lets a template +element support the editing of an attribute by providing name and value +attributes on that template element. | attribute-name | input (with type +"text" or "hidden") | template:attribute | |
template:attribute-area | Lets a template element support the +editing of an attribute by providing a name attribute on that template +element, and by either inserting the value of the attribute inside the +template element, or by replacing the template element with +the value. | attribute-name | textarea | template:attribute template:value template:effect | |
attribute-name, +"insert" | "replace" | |||||
template:attribute-button | Provides support +for a template element to reflect the presence of an attribute on a +single element (having a particular value). | attribute-name, attribute-value, template-attribute | input (with type +"checkbox" or "radio") | template:attribute template:expr template:expr-attr | |
template:attribute-list-button | Provides +support for a template element to reflect the presence of an attribute +value on one of a collection of elements. | attribute-name, template-attribute | input +(with type "checkbox" or "radio") | template:multiple-choice-list-element | template:attribute template:expr template:expr-attr |
template:selector-field | selector-name | input (with type "submit", "checkbox" or "radio") | template:element | ||
selector-name, affected-element-name | |||||
template:multiple-choice-field | element-name | "-", attribute-name | select | template:multiple-choice-value | template:element template:attribute | |
element-name | "-", attribute-name, "new" | |||||
template:multiple-choice-list-field | element-name | "-", list-element-name, list-attribute-name | select | template:multiple-choice-list-value | template:element | |
template:multiple-choice-list-element | element-name | "-", list-element-name, list-attribute-name | Almost any | template:attribute-list-button | template:element | |
template:multiple-choice-value | element-name, attribute-name, template-attribute | option | template:multiple-choice-field | template:element template:expr template:expr-attr template:value | |
template:multiple-choice-list-value | element-name, attribute-name, template-attribute | option | template:multiple-choice-list-field | template:element template:expr template:expr-attr template:value |