view examples/bench/markup/base.html @ 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 cc034182061e
children
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://markup.edgewall.org/"
      py:strip="">

  <p py:def="greeting(name)">
    Hello, ${name}!
  </p>

  <body py:match="body">
    <div id="header">
      <h1>${title}</h1>
    </div>
    ${select('*')}
    <div id="footer" />
  </body>

</html>
Copyright (C) 2012-2017 Edgewall Software