view tests/thead.ur @ 2082:1b76ae703cbb

Some more optimization of string expressions showing up in JSON generation (Meta library)
author Adam Chlipala <adam@chlipala.net>
date Wed, 03 Dec 2014 21:06:15 -0500
parents d3a0f2b8af28
children
line wrap: on
line source
fun main () : transaction page = return <xml><body>
  <table>
    <thead>
      <tr> <th>A</th> <th>B</th> </tr>
    </thead>

    <tbody>
      <tr> <td>1</td> <td>2</td> </tr>
      <tr> <td>3</td> <td>4</td> </tr>
    </tbody>

    <tfoot>
      <tr> <th>C</th> <th>D</th> </tr>
    </tfoot>
  </table>
</body></xml>