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