1.1 --- a/examples/Common/PEP241/Resources/pep241_template.xhtml Tue Dec 21 00:46:08 2004 +0000
1.2 +++ b/examples/Common/PEP241/Resources/pep241_template.xhtml Tue Dec 21 00:46:33 2004 +0000
1.3 @@ -53,12 +53,10 @@
1.4 <th>Licence</th>
1.5 <td template:attribute="licence" template:value="$this-value">Licence</td>
1.6 </tr>
1.7 - </tbody>
1.8 - <tbody template:element="discriminators">
1.9 <tr>
1.10 <th colspan="2" class="heading">Discriminators</th>
1.11 </tr>
1.12 - <tr template:element="discriminator">
1.13 + <tr template:element="discriminators,discriminator">
1.14 <th>Discriminator</th>
1.15 <td template:element="category">
1.16 <select name="{template:this-position()}">
1.17 @@ -76,15 +74,12 @@
1.18 <input type="submit" value="Add discriminator!"
1.19 name="add_discriminator={template:this-position()}" /></td>
1.20 </tr>
1.21 - </tbody>
1.22 - <tbody template:element="platforms">
1.23 <tr>
1.24 <th colspan="2" class="heading">Platforms</th>
1.25 </tr>
1.26 - <tr template:element="platform">
1.27 + <tr template:element="platforms,platform">
1.28 <th>Platform name</th>
1.29 - <td><span template:attribute="name" template:value=".">Linux (with
1.30 - more listed below)</span>
1.31 + <td><span template:attribute="name"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></span>
1.32 <input type="submit" value="Remove!"
1.33 name="remove_platform={template:this-position()}" /></td>
1.34 </tr>
1.35 @@ -94,15 +89,12 @@
1.36 <input type="submit" value="Add platform!"
1.37 name="add_platform={template:this-position()}" /></td>
1.38 </tr>
1.39 - </tbody>
1.40 - <tbody template:element="supported-platforms">
1.41 <tr>
1.42 <th colspan="2" class="heading">Supported platforms</th>
1.43 </tr>
1.44 - <tr template:element="supported-platform">
1.45 + <tr template:element="supported-platforms,supported-platform">
1.46 <th>Platform name</th>
1.47 - <td><span template:attribute="name" template:value="$this-value">Linux
1.48 - (with more listed below)</span>
1.49 + <td><span template:attribute="name"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></span>
1.50 <input type="submit" value="Remove!"
1.51 name="remove_supported_platform={template:this-position()}"
1.52 /></td>
1.53 @@ -114,15 +106,12 @@
1.54 name="add_supported_platform={template:this-position()}"
1.55 /></td>
1.56 </tr>
1.57 - </tbody>
1.58 - <tbody template:element="keywords">
1.59 <tr>
1.60 <th colspan="2" class="heading">Keywords</th>
1.61 </tr>
1.62 - <tr template:element="keyword">
1.63 + <tr template:element="keywords,keyword">
1.64 <th>Keyword</th>
1.65 - <td><span template:attribute="name" template:value="$this-value">Web
1.66 - programming</span>
1.67 + <td><span template:attribute="name"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></span>
1.68 <input type="submit" value="Remove!"
1.69 name="remove_keyword={template:this-position()}" /></td>
1.70 </tr>
1.71 @@ -132,8 +121,6 @@
1.72 <input type="submit" value="Add keyword!"
1.73 name="add_keyword={template:this-position()}" /></td>
1.74 </tr>
1.75 - </tbody>
1.76 - <tbody>
1.77 <tr>
1.78 <th colspan="2" class="heading">Authors</th>
1.79 </tr>
1.80 @@ -161,8 +148,6 @@
1.81 <input type="submit" value="Add author!"
1.82 name="add_author={template:this-position()}" /></td>
1.83 </tr>
1.84 - </tbody>
1.85 - <tbody>
1.86 <tr>
1.87 <th colspan="2" class="heading">Dependencies</th>
1.88 </tr>
1.89 @@ -170,13 +155,13 @@
1.90 <tbody template:element="dependencies,dependency">
1.91 <tr>
1.92 <th>Package name</th>
1.93 - <td><span template:attribute="name" template:value="$this-value">XMLTools2</span>
1.94 + <td><span template:attribute="name"><input name="{template:this-position()}" value="{$this-value}" type="text" size="20" /></span>
1.95 <input type="submit" value="Remove!"
1.96 name="remove_dependency={template:this-position()}" /></td>
1.97 </tr>
1.98 <tr>
1.99 <th>Package version</th>
1.100 - <td template:attribute="version" template:value="$this-value">0.2</td>
1.101 + <td template:attribute="version"><input name="{template:this-position()}" value="{$this-value}" type="text" size="10" /></td>
1.102 </tr>
1.103 </tbody>
1.104 <tbody>
1.105 @@ -186,8 +171,6 @@
1.106 <input type="submit" value="Add dependency!"
1.107 name="add_dependency={template:this-position()}" /></td>
1.108 </tr>
1.109 - </tbody>
1.110 - <tbody>
1.111 <tr>
1.112 <th colspan="2" class="heading">Actions</th>
1.113 </tr>