comparison examples/bench/kid/base.kid @ 69:c40a5dcd2b55 trunk

A couple of minor performance improvements.
author cmlenz
date Mon, 10 Jul 2006 17:37:01 +0000
parents 300b6a3b0730
children
comparison
equal deleted inserted replaced
68:e7f91e75b0e1 69:c40a5dcd2b55
1 <html xmlns="http://www.w3.org/1999/xhtml" 1 <html xmlns="http://www.w3.org/1999/xhtml"
2 xmlns:py="http://purl.org/kid/ns#"> 2 xmlns:py="http://purl.org/kid/ns#">
3 <div py:def="header()" id="header"> 3
4 <h1><?cs var:title ?></h1> 4 <p py:def="greeting(name)">
5 </div> 5 Hello, ${name}!
6 <div py:def="footer()" id="footer"> 6 </p>
7 </div> 7
8 <body py:match="item.tag == '{http://www.w3.org/1999/xhtml}body'" py:strip="">
9 <div id="header">
10 <h1>${title}</h1>
11 </div>
12 ${item}
13 <div id="footer" />
14 </body>
8 </html> 15 </html>
Copyright (C) 2012-2017 Edgewall Software