Mercurial > genshi > genshi-test
comparison examples/bench/kid/base.kid @ 69:e9a3930f8823
A couple of minor performance improvements.
author | cmlenz |
---|---|
date | Mon, 10 Jul 2006 17:37:01 +0000 |
parents | b387cf24d329 |
children |
comparison
equal
deleted
inserted
replaced
68:a1f93d095759 | 69:e9a3930f8823 |
---|---|
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> |