annotate examples/webpy/hello.html @ 688:d8571da25bc5 trunk

The `Stream.render` now accepts an optional `out` parameter that can be used to pass in a writable file-like object to use for assembling the output, instead of building a big string and returning it.
author cmlenz
date Wed, 12 Mar 2008 20:46:34 +0000
parents 8165d6e3b703
children
rev   line source
267
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
1 <!DOCTYPE html
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
5 xmlns:py="http://genshi.edgewall.org/">
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
6 <body>
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
7 <h1>web.py with Genshi</h1>
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
8 <hr />
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
9 <ul py:if="times">
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
10 <li py:for="i in range(times)">Hello, $name!</li>
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
11 </ul>
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
12 </body>
8165d6e3b703 Add [WebPy web.py] example app.
cmlenz
parents:
diff changeset
13 </html>
Copyright (C) 2012-2017 Edgewall Software