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"> 26 <input name="{template:this-position()}" type="text" value="{string(.)}"/> 27 </td> 28 </tr> 29 </tbody> 30 <tbody template:element="details"> 31 <tr> 32 <th>Package version</th> 33 <td template:attribute="version"><span template:value="string(.)">0.2</span></td> 34 </tr> 35 <tr> 36 <th>Summary</th> 37 <td template:attribute="summary"><span template:value="string(.)" template:effect="replace">An XML-based 38 Web forms processing package.</span></td> 39 </tr> 40 <tr> 41 <th>Description</th> 42 <td template:attribute="description" template:value="string(.)">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 can be used in a 48 description.</td> 49 </tr> 50 <tr> 51 <th>Home page</th> 52 <td template:attribute="home-page" template:value="string(.)">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="string(.)">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" value="{@value}" 68 template:expr-attr="selected" template:expr="@value = ../@value" template:value="@value"/> 69 </select> 70 <input type="submit" value="Remove!" name="_action_remove_discriminator={template:this-position()}" /></td> 71 </tr> 72 <tr> 73 <th></th> 74 <td><input type="submit" value="Add discriminator!" name="_action_add_discriminator={template:this-position()}" /></td> 75 </tr> 76 </tbody> 77 <tbody template:element="platforms"> 78 <tr> 79 <th colspan="2" class="heading">Platforms</th> 80 </tr> 81 <tr template:element="platform"> 82 <th>Platform name</th> 83 <td><span template:attribute="name" template:value=".">Linux (with more listed below)</span> 84 <input type="submit" value="Remove!" name="_action_remove_platform={template:this-position()}" /></td> 85 </tr> 86 <tr> 87 <th></th> 88 <td> 89 <input type="submit" value="Add platform!" name="_action_add_platform={template:this-position()}" /></td> 90 </tr> 91 </tbody> 92 <tbody template:element="supported-platforms"> 93 <tr> 94 <th colspan="2" class="heading">Supported platforms</th> 95 </tr> 96 <tr template:element="supported-platform"> 97 <th>Platform name</th> 98 <td><span template:attribute="name" template:value="string(.)">Linux (with more listed below)</span> 99 <input type="submit" value="Remove!" name="_action_remove_supported_platform={template:this-position()}" /></td> 100 </tr> 101 <tr> 102 <th></th> 103 <td> 104 <input type="submit" value="Add platform!" name="_action_add_supported_platform={template:this-position()}" /></td> 105 </tr> 106 </tbody> 107 <tbody template:element="keywords"> 108 <tr> 109 <th colspan="2" class="heading">Keywords</th> 110 </tr> 111 <tr template:element="keyword"> 112 <th>Keyword</th> 113 <td><span template:attribute="name" template:value="string(.)">Web programming</span> 114 <input type="submit" value="Remove!" name="_action_remove_keyword={template:this-position()}" /></td> 115 </tr> 116 <tr> 117 <th></th> 118 <td><input type="submit" value="Add keyword!" name="_action_add_keyword={template:this-position()}" /></td> 119 </tr> 120 </tbody> 121 <tbody> 122 <tr> 123 <th colspan="2" class="heading">Authors</th> 124 </tr> 125 </tbody> 126 <tbody template:element="authors,author"> 127 <tr> 128 <th>Author name</th> 129 <td><span template:attribute="name" template:value="string(.)">Paul Boddie</span> 130 <input type="submit" value="Remove!" name="_action_remove_author={template:this-position()}" /></td> 131 </tr> 132 <tr> 133 <th>Author contact</th> 134 <td template:attribute="contact" template:value="string(.)">Oslo, Norway</td> 135 </tr> 136 <tr> 137 <th>Author e-mail</th> 138 <td template:attribute="e-mail" template:value="string(.)">paul@boddie.org.uk</td> 139 </tr> 140 </tbody> 141 <tbody> 142 <tr> 143 <th></th> 144 <td><input type="submit" value="Add author!" name="_action_add_author={template:this-position()}" /></td> 145 </tr> 146 </tbody> 147 <tbody> 148 <tr> 149 <th colspan="2" class="heading">Dependencies</th> 150 </tr> 151 </tbody> 152 <tbody template:element="dependencies,dependency"> 153 <tr> 154 <th>Package name</th> 155 <td><span template:attribute="name" template:value="string(.)">XMLTools2</span> 156 <input type="submit" value="Remove!" name="_action_remove_dependency={template:this-position()}" /></td> 157 </tr> 158 <tr> 159 <th>Package version</th> 160 <td template:attribute="version" template:value="string(.)">0.2</td> 161 </tr> 162 </tbody> 163 <tbody> 164 <tr> 165 <th></th> 166 <td> 167 <input type="submit" value="Add dependency!" name="_action_add_dependency={template:this-position()}" /></td> 168 </tr> 169 </tbody> 170 <tbody> 171 <tr> 172 <th colspan="2" class="heading">Actions</th> 173 </tr> 174 <tr> 175 <th></th> 176 <td> 177 <input type="submit" value="Update!" name="_action_update" /> 178 <input type="submit" value="Finish!" name="_action_finish" /></td> 179 </tr> 180 </tbody> 181 </table> 182 </form> 183 </body> 184 </html>