Mercurial > genshi > mirror
annotate examples/bench/kid/base.kid @ 757:4c1632125220 stable-0.5.x
0.5.x branch: fix use of generator expressions in transform tests for Python 2.3 compatibility.
author | cmlenz |
---|---|
date | Tue, 10 Jun 2008 08:42:22 +0000 |
parents | c40a5dcd2b55 |
children |
rev | line source |
---|---|
57
300b6a3b0730
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" |
300b6a3b0730
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
300b6a3b0730
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
cmlenz
parents:
diff
changeset
|
15 </html> |