Zope Page Templates
by Amos Latteier 

Listing One
<html>
  <head>
    <title>Econo Feeder</title>
  </head>
  <body>
    <h1>Econo Feeder</h1>
    <img src="econo-feeder.gif" alt="Econo Feeder">
    <p>These feeders are made in Taiwan from a light-weight metal with
    plastic ends, and have an anti-spill edge to prevent the birds
    from kicking the feed out of the tray. They have a wooden rollbar
    to prevent the birds from sitting on them.</p>
    <table>
    <tr>
      <th>Item Number</th>
      <th>Description</th>
      <th>Price</th>
      <th></th>
    </tr>
    <tr>
      <td>510-115</td>
      <td>24 inch</td>
      <td>$7.95</td>
      <td><a href="orderItem?number=510-115">Add to cart</a></td>
    </tr>
    <tr>
      <td>510-116</td>
      <td>36 inch</td>
      <td>$8.95</td>
      <td><a href="orderItem?number=510-116">Add to cart</a></td>
    </tr>
    </table>
  </body>
</html>

Listing Two
<html>
  <head>
    <title tal:content="here/title">Econo Feeder</title>
  </head>
  <body>
    <h1 tal:content="here/title">Econo Feeder</h1>
    <img src="econo-feeder.gif" alt="Econo Feeder"
         tal:attributes="src here/image_url; alt here/title">
    <p tal:content="here/description">These feeders are made in Taiwan
    from a light-weight metal with plastic ends, and have an
    anti-spill edge to prevent the birds from kicking the feed out of
    the tray. They have a wooden rollbar to prevent the birds from
    sitting on them.</p>
    <table>
    <tr>
      <th>Item Number</th>
      <th>Description</th>
      <th>Price</th>
      <th></th>
    </tr>
    <tr tal:repeat="item here/queryOrder">
      <td tal:content="item/number">510-115</td>
      <td tal:content="item/description">24 inch</td>
      <td>$<span tal:replace="item/price">7.95</span></td>
      <td><a href="orderItem?number=510-115"
             tal:attributes="href string:orderItem?number=${item/number}">
             Add to cart</a></td>
    </tr>
    </table>
  </body>
</html>





