1 <?xml version="1.0" encoding="iso-8859-1"?> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" 3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 4 <html xmlns="http://www.w3.org/1999/xhtml" 5 xmlns:template="http://www.boddie.org.uk/ns/xmltools/template"> 6 <head> 7 <title>PEP 241 Package Registry</title> 8 <meta name="generator" content="amaya 8.1a, see http://www.w3.org/Amaya/" /> 9 <link xmlns:xlink="http://www.w3.org/1999/xlink" href="styles.css" 10 rel="stylesheet" type="text/css" /> 11 </head> 12 13 <body> 14 <h1>PEP 241 Package Registry</h1> 15 16 <form method="get"> 17 18 <table cellspacing="0" cellpadding="5" template:element="package"> 19 <tbody> 20 <tr> 21 <th class="heading" colspan="2">Summary</th> 22 </tr> 23 <tr> 24 <th>Package name</th> 25 <td template:attribute="name"><input type="text" size="20" 26 name="{template:this-position()}/{$this-name}" value="{$this-value}" /></td> 27 </tr> 28 </tbody> 29 <tbody template:element="details"> 30 <tr> 31 <th>Package version</th> 32 <td template:attribute="version"><input type="text" size="10" 33 name="{template:this-position()}/{$this-name}" value="{$this-value}" /></td> 34 </tr> 35 <tr> 36 <th>Summary</th> 37 <td template:attribute="summary"><span template:value="$this-value" template:effect="replace">An 38 XML-based Web forms processing package.</span></td> 39 </tr> 40 <tr> 41 <th>Description</th> 42 <td template:attribute="description" template:value="$this-value">Insert 43 longer description here!</td> 44 </tr> 45 <tr template:element="error"> 46 <th></th> 47 <td template:attribute="size" class="error">Only {size} characters 48 can be used in a description.</td> 49 </tr> 50 <tr> 51 <th>Home page</th> 52 <td template:attribute="home-page" template:value="$this-value">http://www.boddie.org.uk/python/XMLForms2/index.html</td> 53 </tr> 54 <tr> 55 <th>Licence</th> 56 <td template:attribute="licence" template:value="$this-value">LGPL</td> 57 </tr> 58 </tbody> 59 <tbody template:element="discriminators"> 60 <tr> 61 <th colspan="2" class="heading">Discriminators</th> 62 </tr> 63 <tr template:element="discriminator"> 64 <th>Discriminator</th> 65 <td template:element="category"> 66 <select name="{template:this-position()}"> 67 <option template:element="category-enum" template:expr-attr="selected" template:expr="@value = ../@value" template:value="@value" 68 value="{@value}"></option> 69 </select> 70 71 <input type="submit" value="Remove!" 72 name="_action_remove_discriminator={template:this-position()}" 73 /></td> 74 </tr> 75 <tr> 76 <th></th> 77 <td> 78 <input type="submit" value="Add discriminator!" 79 name="_action_add_discriminator={template:this-position()}" /></td> 80 </tr> 81 </tbody> 82 <tbody template:element="platforms"> 83 <tr> 84 <th colspan="2" class="heading">Platforms</th> 85 </tr> 86 <tr template:element="platform"> 87 <th>Platform name</th> 88 <td><span template:attribute="name" template:value=".">Linux (with 89 more listed below)</span> 90 <input type="submit" value="Remove!" 91 name="_action_remove_platform={template:this-position()}" /></td> 92 </tr> 93 <tr> 94 <th></th> 95 <td> 96 <input type="submit" value="Add platform!" 97 name="_action_add_platform={template:this-position()}" /></td> 98 </tr> 99 </tbody> 100 <tbody template:element="supported-platforms"> 101 <tr> 102 <th colspan="2" class="heading">Supported platforms</th> 103 </tr> 104 <tr template:element="supported-platform"> 105 <th>Platform name</th> 106 <td><span template:attribute="name" template:value="$this-value">Linux 107 (with more listed below)</span> 108 <input type="submit" value="Remove!" 109 name="_action_remove_supported_platform={template:this-position()}" 110 /></td> 111 </tr> 112 <tr> 113 <th></th> 114 <td> 115 <input type="submit" value="Add platform!" 116 name="_action_add_supported_platform={template:this-position()}" 117 /></td> 118 </tr> 119 </tbody> 120 <tbody template:element="keywords"> 121 <tr> 122 <th colspan="2" class="heading">Keywords</th> 123 </tr> 124 <tr template:element="keyword"> 125 <th>Keyword</th> 126 <td><span template:attribute="name" template:value="$this-value">Web 127 programming</span> 128 <input type="submit" value="Remove!" 129 name="_action_remove_keyword={template:this-position()}" /></td> 130 </tr> 131 <tr> 132 <th></th> 133 <td> 134 <input type="submit" value="Add keyword!" 135 name="_action_add_keyword={template:this-position()}" /></td> 136 </tr> 137 </tbody> 138 <tbody> 139 <tr> 140 <th colspan="2" class="heading">Authors</th> 141 </tr> 142 </tbody> 143 <tbody template:element="authors,author"> 144 <tr> 145 <th>Author name</th> 146 <td><span template:attribute="name" template:value="$this-value">Paul 147 Boddie</span> 148 <input type="submit" value="Remove!" 149 name="_action_remove_author={template:this-position()}" /></td> 150 </tr> 151 <tr> 152 <th>Author contact</th> 153 <td template:attribute="contact" template:value="$this-value">Oslo, 154 Norway</td> 155 </tr> 156 <tr> 157 <th>Author e-mail</th> 158 <td template:attribute="e-mail" template:value="$this-value">paul@boddie.org.uk</td> 159 </tr> 160 </tbody> 161 <tbody> 162 <tr> 163 <th></th> 164 <td> 165 <input type="submit" value="Add author!" 166 name="_action_add_author={template:this-position()}" /></td> 167 </tr> 168 </tbody> 169 <tbody> 170 <tr> 171 <th colspan="2" class="heading">Dependencies</th> 172 </tr> 173 </tbody> 174 <tbody template:element="dependencies,dependency"> 175 <tr> 176 <th>Package name</th> 177 <td><span template:attribute="name" template:value="$this-value">XMLTools2</span> 178 <input type="submit" value="Remove!" 179 name="_action_remove_dependency={template:this-position()}" /></td> 180 </tr> 181 <tr> 182 <th>Package version</th> 183 <td template:attribute="version" template:value="$this-value">0.2</td> 184 </tr> 185 </tbody> 186 <tbody> 187 <tr> 188 <th></th> 189 <td> 190 <input type="submit" value="Add dependency!" 191 name="_action_add_dependency={template:this-position()}" /></td> 192 </tr> 193 </tbody> 194 <tbody> 195 <tr> 196 <th colspan="2" class="heading">Actions</th> 197 </tr> 198 <tr> 199 <th></th> 200 <td> 201 <input type="submit" value="Update!" name="_action_update" /> 202 <input type="submit" value="Finish!" name="_action_finish" /></td> 203 </tr> 204 </tbody> 205 </table> 206 </form> 207 </body> 208 </html>