Mercurial > genshi > mirror
comparison examples/bench/markup/template.html @ 57:300b6a3b0730 trunk
Add some simple benchmarks to compare performance against Clearsilver, Kid, Cheetah, and more soon.
author | cmlenz |
---|---|
date | Tue, 04 Jul 2006 18:19:22 +0000 |
parents | |
children | 448792ab1303 |
comparison
equal
deleted
inserted
replaced
56:6474226bb8b6 | 57:300b6a3b0730 |
---|---|
1 <!DOCTYPE html | |
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | |
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
4 <html xmlns="http://www.w3.org/1999/xhtml" | |
5 xmlns:py="http://purl.org/kid/ns#" | |
6 xmlns:xi="http://www.w3.org/2001/XInclude" | |
7 lang="en"> | |
8 <head> | |
9 <title>${title}</title> | |
10 </head> | |
11 <body> | |
12 <xi:include href="header.html" /> | |
13 | |
14 <h2>Loop</h2> | |
15 <ul py:if="items"> | |
16 <li py:for="item in items" py:content="item"/> | |
17 </ul> | |
18 | |
19 <xi:include href="footer.html" /> | |
20 </body> | |
21 </html> |