1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type" /><title>Template Attribute Reference</title> 3 <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> <link href="styles.css" rel="stylesheet" type="text/css" /></head> 4 5 <body><h1>Template Attribute Reference</h1> 6 <p>This document presents each of the attributes used in 7 templates to annotate the structure of the XML documents being 8 presented.</p><table width="100%" border="1" cellpadding="5" cellspacing="0"><tbody><tr><th width="15%">Attribute</th><th width="20%">Purpose</th><th width="15%">Parameter 9 Formats</th><th width="20%">Suitable HTML Elements</th><th width="15%">Related 10 Attributes</th><th width="15%">Implementing Attributes</th></tr><tr><td colspan="1" rowspan="2">template:element</td><td colspan="1" rowspan="2">Marks a section corresponding to an 11 element. Many element names can be given to provide a path into the 12 document.</td><td>element-name</td><td colspan="1" rowspan="2">Almost any</td><td colspan="1" rowspan="2"></td><td colspan="1" rowspan="2"></td></tr><tr><td>element-name1,<br />element-name2,<br />...</td></tr><tr><td>template:attribute</td><td>Marks a section 13 corresponding to an attribute.</td><td>attribute-name</td><td>Almost any</td><td></td><td></td></tr><tr><td>template:attribute-field</td><td>Lets a template 14 element support the editing of an attribute by providing name and value 15 attributes on that template element.</td><td>attribute-name</td><td>input (with type 16 "text" or "hidden")</td><td><br /></td><td>template:attribute</td></tr><tr><td colspan="1" rowspan="2">template:attribute-area</td><td colspan="1" rowspan="2">Lets a template element support the 17 editing of an attribute by providing a name attribute on that template 18 element, and by either inserting the value of the attribute inside the 19 template element, or by replacing the template element with 20 the value.</td><td>attribute-name</td><td colspan="1" rowspan="2">textarea</td><td colspan="1" rowspan="2"></td><td colspan="1" rowspan="2">template:attribute<br />template:value<br />template:effect</td></tr><tr><td>attribute-name,<br /> 21 "insert" | "replace"</td></tr><tr><td>template:attribute-button</td><td>Provides support 22 for a template element to reflect the presence of an attribute on a 23 single element (having a particular value).</td><td>attribute-name,<br />attribute-value,<br />template-attribute</td><td>input (with type 24 "checkbox" or "radio")</td><td></td><td>template:attribute<br />template:expr<br />template:expr-attr</td></tr><tr><td>template:attribute-list-button</td><td>Provides 25 support for a template element to reflect the presence of an attribute 26 value on one of a collection of elements.</td><td>attribute-name,<br />template-attribute</td><td>input 27 (with type "checkbox" or "radio")</td><td>template:multiple-choice-list-element<br /></td><td>template:attribute<br />template:expr<br />template:expr-attr</td></tr><tr><td colspan="1" rowspan="2">template:selector-field</td><td colspan="1" rowspan="2"></td><td>selector-name<span style="font-style: italic;"></span></td><td colspan="1" rowspan="2">input (with type "submit", "checkbox" or "radio")</td><td colspan="1" rowspan="2">template:element</td><td colspan="1" rowspan="2"></td></tr><tr><td>selector-name,<br />affected-element-name</td></tr><tr><td colspan="1" rowspan="2">template:multiple-choice-field</td><td colspan="1" rowspan="2"></td><td>element-name | "-",<br />attribute-name</td><td colspan="1" rowspan="2">select</td><td colspan="1" rowspan="2">template:multiple-choice-value</td><td colspan="1" rowspan="2">template:element<br />template:attribute</td></tr><tr><td>element-name | "-",<br />attribute-name,<br />"new"</td></tr><tr><td>template:multiple-choice-list-field</td><td></td><td>element-name | "-",<br />list-element-name,<br />list-attribute-name</td><td>select</td><td>template:multiple-choice-list-value</td><td>template:element</td></tr><tr><td>template:multiple-choice-list-element</td><td></td><td>element-name | "-",<br />list-element-name,<br />list-attribute-name</td><td>Almost any</td><td>template:attribute-list-button</td><td>template:element</td></tr><tr><td>template:multiple-choice-value</td><td></td><td>element-name,<br />attribute-name,<br />template-attribute</td><td>option</td><td>template:multiple-choice-field</td><td>template:element<br />template:expr<br />template:expr-attr<br />template:value</td></tr><tr><td>template:multiple-choice-list-value</td><td></td><td>element-name,<br />attribute-name,<br />template-attribute</td><td>option</td><td>template:multiple-choice-list-field</td><td>template:element<br />template:expr<br />template:expr-attr<br />template:value</td></tr></tbody></table></body></html>