anchor.diff:  </table>
                
       <BR />
  -    <wiki:LinkTo>Back to <wiki:PageName/></wiki:LinkTo>
  +    <wiki:PageType type="page">
  +       <wiki:LinkTo>Back to <wiki:PageName/></wiki:LinkTo>
  +    </wiki:PageType>
  +    <wiki:PageType type="attachment">
  +
  +       <form action="attach" method="POST" enctype="multipart/form-data">
  +
  +           <%-- Do NOT change the order of wikiname and content, otherwise the 
  +                servlet won't find its parts. --%>
  +
  +           <input type="hidden" name="page" value="<wiki:Variable var="pagename"/>">
  +
  +           In order to update this attachment with a newer version, find the
  +           file using "Browse", then click on "Update".
  +
  +           <P>
  +           <input type="file" name="content">
  +           <input type="submit" name="upload" value="Update">
  +           <input type="hidden" name="action" value="upload">
  +           <input type="hidden" name="nextpage" value="<wiki:PageInfoLink format="url"/>">
  +           </form>
  +
  +
  +    </wiki:PageType>
   
   </wiki:PageExists>
   
  
positive.code:            <td><wiki:LinkTo><wiki:PageName /></wiki:LinkTo></td>
         </tr>
  
         <wiki:IsAttachment>
             <tr>
                <td><B>Parent page</B></td>
                <td>FIXME</td>
             </tr>
         </wiki:IsAttachment>
  
         <tr>
             <td><B>Page last modified</B></td>
  
negative.code:                          </td>
  
                           <td>
                               <wiki:PageType type="page">
                               <wiki:DiffLink version="latest" 
                                              newVersion="<%=Integer.toString(currentPage.getVersion())%>">
                                   <wiki:PageDate/>
                               </wiki:DiffLink>
                               </wiki:PageType>
  
                               <wiki:PageType type="attachment">
                                   <wiki:PageDate/>
                               </wiki:PageType>
                           </td>
  
                           <td><wiki:Author /></td>
                           <td><wiki:PageSize /></td>
  
                           <wiki:PageType type="page">
                             <td>
                                <% if( currentPage.getVersion() > 1 ) { %>
                                     <wiki:DiffLink version="<%=Integer.toString(currentPage.getVersion())%>" 
                                                    newVersion="<%=Integer.toString(currentPage.getVersion()-1)%>">
                                         from version <%=currentPage.getVersion()-1%> to <%=currentPage.getVersion()%>
                                     </wiki:DiffLink>
                                 <% } %>
                             </td>
                           </wiki:PageType>
                       </tr>
                     </wiki:HistoryIterator>
                 </table>
  