# 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 @@ + + Template Attribute Reference + + +

Template Attribute Reference

+

This document presents each of the attributes used in +templates to annotate the structure of the XML documents being +presented.

AttributePurposeParameter +FormatsSuitable HTML ElementsRelated +AttributesImplementing Attributes
template:elementMarks a section corresponding to an +element. Many element names can be given to provide a path into the +document.element-nameAlmost any
element-name1,
element-name2,
...
template:attributeMarks a section +corresponding to an attribute.attribute-nameAlmost any
template:attribute-fieldLets a template +element support the editing of an attribute by providing name and value +attributes on that template element.attribute-nameinput (with type +"text" or "hidden")
template:attribute
template:attribute-areaLets 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-nametextareatemplate:attribute
template:value
template:effect
attribute-name,
+"insert" | "replace"
template:attribute-buttonProvides 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-buttonProvides +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-fieldselector-nameinput (with type "submit", "checkbox" or "radio")template:element
selector-name,
affected-element-name
template:multiple-choice-fieldelement-name | "-",
attribute-name
selecttemplate:multiple-choice-valuetemplate:element
template:attribute
element-name | "-",
attribute-name,
"new"
template:multiple-choice-list-fieldelement-name | "-",
list-element-name,
list-attribute-name
selecttemplate:multiple-choice-list-valuetemplate:element
template:multiple-choice-list-elementelement-name | "-",
list-element-name,
list-attribute-name
Almost anytemplate:attribute-list-buttontemplate:element
template:multiple-choice-valueelement-name,
attribute-name,
template-attribute
optiontemplate:multiple-choice-fieldtemplate:element
template:expr
template:expr-attr
template:value
template:multiple-choice-list-valueelement-name,
attribute-name,
template-attribute
optiontemplate:multiple-choice-list-fieldtemplate:element
template:expr
template:expr-attr
template:value