paulb@283 | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
paulb@283 | 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> |
paulb@283 | 3 | <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> <link href="styles.css" rel="stylesheet" type="text/css" /></head> |
paulb@283 | 4 | |
paulb@283 | 5 | <body><h1>Template Attribute Reference</h1> |
paulb@283 | 6 | <p>This document presents each of the attributes used in |
paulb@283 | 7 | templates to annotate the structure of the XML documents being |
paulb@283 | 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 |
paulb@283 | 9 | Formats</th><th width="20%">Suitable HTML Elements</th><th width="15%">Related |
paulb@283 | 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 |
paulb@283 | 11 | element. Many element names can be given to provide a path into the |
paulb@283 | 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 |
paulb@283 | 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 |
paulb@283 | 14 | element support the editing of an attribute by providing name and value |
paulb@283 | 15 | attributes on that template element.</td><td>attribute-name</td><td>input (with type |
paulb@283 | 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 |
paulb@283 | 17 | editing of an attribute by providing a name attribute on that template |
paulb@283 | 18 | element, and by either inserting the value of the attribute inside the |
paulb@283 | 19 | template element, or by replacing the template element with |
paulb@283 | 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 /> |
paulb@283 | 21 | "insert" | "replace"</td></tr><tr><td>template:attribute-button</td><td>Provides support |
paulb@283 | 22 | for a template element to reflect the presence of an attribute on a |
paulb@283 | 23 | single element (having a particular value).</td><td>attribute-name,<br />attribute-value,<br />template-attribute</td><td>input (with type |
paulb@283 | 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 |
paulb@283 | 25 | support for a template element to reflect the presence of an attribute |
paulb@283 | 26 | value on one of a collection of elements.</td><td>attribute-name,<br />template-attribute</td><td>input |
paulb@283 | 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> |