view examples/bench/cheetah/template.tmpl @ 177:dbae9efe5704

* Minor fix for the XHTML serializer (the local namespace var got clobbered) * Additional unit tests for empty element serialization, and using XHTML as non-default namespace (with a prefix)
author cmlenz
date Mon, 21 Aug 2006 15:00:35 +0000
parents b387cf24d329
children 2aa99bf95d84
line wrap: on
line source
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
  <head>
    <title>${title}</title>
  </head>
  <body>
    #include "header.tmpl"

    <h2>Loop</h2>
    #if $items
      <ul>
        #for $item in $items
          <li>$item</li>
        #end for
      </ul>
    #end if

    #include "footer.tmpl"
  </body>
</html>
Copyright (C) 2012-2017 Edgewall Software