Mercurial > genshi > mirror
diff 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 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/examples/bench/markup/template.html @@ -0,0 +1,21 @@ +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xmlns:py="http://purl.org/kid/ns#" + xmlns:xi="http://www.w3.org/2001/XInclude" + lang="en"> + <head> + <title>${title}</title> + </head> + <body> + <xi:include href="header.html" /> + + <h2>Loop</h2> + <ul py:if="items"> + <li py:for="item in items" py:content="item"/> + </ul> + + <xi:include href="footer.html" /> + </body> +</html>