2 title = "A Genshi Template"
3 fruits = ["apple", "orange", "kiwi"]
5 <html xmlns:py="http://genshi.edgewall.org/">
7 <title py:content="title">This is replaced.</title>
10 <p>These are some of my favorite fruits:</p>
12 <li py:for="fruit in fruits">
17 from genshi.builder import tag
19 return 'Hello, %s!' % name