1.1 --- a/docs/structure.html Wed Nov 09 17:41:12 2005 +0000
1.2 +++ b/docs/structure.html Wed Nov 09 17:41:35 2005 +0000
1.3 @@ -21,7 +21,7 @@
1.4 special attributes and values.</p>
1.5 <ul>
1.6 </ul>
1.7 -<h2>Annotating the Template</h2>
1.8 +<h2><a name="AnnotatingTheTemplate"></a>Annotating the Template</h2>
1.9 <p>Taking the template extract from above, we add special annotations
1.10 to produce something like this:</p>
1.11 <pre style=""><structure> <body <span style="font-weight: bold;">template:element="structure"</span>><br /><br /> <item <div <span style="font-weight: bold;">template:element="item"</span>><br /> <p><br /> value="some value"> Some item: <input <span style="font-weight: bold;">template:attribute-field="value"</span> name="<span style="font-weight: bold;">...</span>" type="text" value="<span style="font-weight: bold;">...</span>" /><br /> <input name="remove" type="submit" value="Remove" /><br /> </p><br /> <p><br /> Itself containing more items:<br /> </p><br /> <subitem <p <span style="font-weight: bold;">template:element="subitem"</span>><br /> subvalue="some other value"/> Sub-item: <input <span style="font-weight: bold;">template:attribute-field="subvalue"</span> name="<span style="font-weight: bold;">...</span>" type="text" value="<span style="font-weight: bold;">...</span>" /><br /> <input name="remove2" type="submit" value="Remove" /><br /> </p><br /> <p><br /> <input name="add2" type="submit" value="Add subitem" /><br /> </p><br /> </item> </div><br /> <p><br /> <input name="add" type="submit" value="Add item" /><br /> </p><br /><br /></structure> </body></pre>