Mercurial > genshi > mirror
view examples/bench/kid/base.kid @ 135:9d7ca94133be stable-0.1.x
0.1.x branch: Merged bugfix for expression evaluation from [167].
author | cmlenz |
---|---|
date | Sun, 06 Aug 2006 19:51:35 +0000 |
parents | c40a5dcd2b55 |
children |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"> <p py:def="greeting(name)"> Hello, ${name}! </p> <body py:match="item.tag == '{http://www.w3.org/1999/xhtml}body'" py:strip=""> <div id="header"> <h1>${title}</h1> </div> ${item} <div id="footer" /> </body> </html>