This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

StructureAnnotation presentation technologies (see DataRepresentation) marks regions of content in a Web page (or other resource to be presented) with indications that such regions represent or "map onto" particular data structures or parts of data structures. Consequently, the content is transformed using a combination of this mapping and the underlying data, and in the purest form of StructureAnnotation, no explicit programmatic transformations are employed (unlike in PythonInWebPage systems) - the data structures appear to do all the work.

A fictional example of this concept could be provided as follows:

<table annotation:element="items">
  <tr annotation:element="item">
    <th>Name</th>
    <td>{name}</td>
  </tr>
</table>

This would work on a data structure described by the following XML extract:

<items>
  <item name="Ape"/>
  <item name="Baboon"/>
  <item name="Chimpanzee"/>
</items>

Many StructureAnnotation template systems provide support for additional features such as condition testing, and temporary variables, making them more of a hybrid of PythonInWebPage and StructureAnnotation.

Some example systems are


2026-02-14 16:13