Mercurial > genshi > genshi-test
annotate 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 |
rev | line source |
---|---|
57
b387cf24d329
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
1 <html xmlns="http://www.w3.org/1999/xhtml" |
b387cf24d329
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
2 xmlns:py="http://purl.org/kid/ns#"> |
69 | 3 |
4 <p py:def="greeting(name)"> | |
5 Hello, ${name}! | |
6 </p> | |
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> | |
57
b387cf24d329
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
15 </html> |