Mercurial > genshi > genshi-test
comparison examples/bench/markup/template.html @ 57:b387cf24d329
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 | 33c2702cf6da |
comparison
equal
deleted
inserted
replaced
56:950f75b72a1e | 57:b387cf24d329 |
---|---|
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> |