Mercurial > genshi > mirror
view examples/bench/kid/base.kid @ 784:ea46fb523485 experimental-match-fastpaths
update to 0.5.x branch, up through r907
don't know how this fits in with SoC work, but I wanted to do due diligence and keep this branch working in case it someday gets considered for trunk
author | aflett |
---|---|
date | Mon, 21 Jul 2008 23:17:52 +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>