1.1 --- a/docs/in-page-updates.html Sun Sep 09 18:12:54 2007 +0000
1.2 +++ b/docs/in-page-updates.html Sun Sep 09 18:13:09 2007 +0000
1.3 @@ -79,12 +79,12 @@
1.4 can be added and removed, regardless of whether such a field existed
1.5 there before. The above template code needs modifying slightly to
1.6 permit this:</p>
1.7 -<pre> <span style="font-weight: bold;"><p template:element="options" template:id="comment-node" id="{template:this-element()}"></span><br style="font-weight: bold;" /><span style="font-weight: bold;"> <span template:element="comment"></span>Comment:<br /> <textarea template:attribute-area="value,insert" name="..." cols="40" rows="3"><br /> Some comment<br /> </textarea><br /> <span style="font-weight: bold;"></span></span><br /> </p></pre>
1.8 +<pre> <span style="font-weight: bold;"><p template:element="options" template:section="comment-node" id="{template:this-element()}"></span><br style="font-weight: bold;" /><span style="font-weight: bold;"> <span template:element="comment"></span>Comment:<br /> <textarea template:attribute-area="value,insert" name="..." cols="40" rows="3"><br /> Some comment<br /> </textarea><br /> <span style="font-weight: bold;"></span></span><br /> </p></pre>
1.9 <p>Here, we have added this region definition to the paragraph
1.10 surrounding the comment field, annotating the paragraph with the
1.11 following attributes:</p>
1.12 <ul>
1.13 - <li>The <code>template:id</code> attribute is used to define a
1.14 + <li>The <code>template:section</code> attribute is used to define a
1.15 template fragment used only to prepare the updated part of the Web
1.16 page. Here we define the fragment or region as being just this
1.17 paragraph.</li>