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>
2.1 --- a/docs/index.html Sun Sep 09 18:12:54 2007 +0000
2.2 +++ b/docs/index.html Sun Sep 09 18:13:09 2007 +0000
2.3 @@ -11,23 +11,23 @@
2.4 libxml2, libxslt and (optionally) <a href="http://www.boddie.org.uk/python/WebStack.html">WebStack</a>.</p>
2.5 <h2>Setting Up</h2>
2.6 <p>First of all, let us assume that the XSLTools distribution has been
2.7 -unpacked and now sits in the <code>XSLTools-0.4.7</code> directory.</p>
2.8 +unpacked and now sits in the <code>XSLTools-0.5</code> directory.</p>
2.9 <p>Before we begin, we must make sure that the XSLTools package is
2.10 available
2.11 -to Python. The easiest way to do this is to change into the <code>XSLTools-0.4.7</code> directory and to run the <code>setup.py</code>
2.12 +to Python. The easiest way to do this is to change into the <code>XSLTools-0.5</code> directory and to run the <code>setup.py</code>
2.13 script provided with the version of Python you are going to be using
2.14 (possibly as a privileged user like <code>root</code>):</p>
2.15 -<pre>cd XSLTools-0.4.7<br />python setup.py install</pre>
2.16 +<pre>cd XSLTools-0.5<br />python setup.py install</pre>
2.17 <p>If you don't want to install XSLTools in this way, or if you can't
2.18 do so
2.19 because you don't have <code>root</code> privileges, you can just make
2.20 sure
2.21 -that the <code>XSLTools-0.4.7</code> directory sits on your
2.22 +that the <code>XSLTools-0.5</code> directory sits on your
2.23 <code>PYTHONPATH</code>.</p>
2.24 <h2>Viewing the API Documentation</h2>
2.25 <p>The API documentation for use in conjunction with this
2.26 guide can be found inside the <a href="../apidocs/index.html"><code>apidocs</code></a>
2.27 -directory within the <code>XSLTools-0.4.7</code> directory. Of course,
2.28 +directory within the <code>XSLTools-0.5</code> directory. Of course,
2.29 it is always possible to view the API documentation
2.30 within Python by importing modules (such as <a href="../apidocs/public/XSLTools.XSLOutput-module.html"><code>XSLTools.XSLOutput</code></a>)
2.31 and using Python's built-in <code>help</code> function.</p>