Edgewall Software

source: trunk/examples/basic/test.kid

Last change on this file was 299, checked in by cmlenz, 17 years ago

Fixed EOL style.

  • Property svn:eol-style set to native
File size: 721 bytes
Line 
1<!DOCTYPE html
2    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml"
5      xmlns:py="http://purl.org/kid/ns#"
6      py:extends="'layout.kid'"
7      lang="en">
8 <body class="${bozz}">
9  <ul py:attrs="{'id': 'second', 'class': None}" py:if="len(items) > 0">
10   <li py:for="item in items">Item $prefix${item.split()[-1]}</li>
11   XYZ ${hey}
12  </ul>
13  ${macro1()} ${macro1()} ${macro1()}
14  ${macro2('john')}
15  ${macro2('kate', classname='collapsed')}
16  <div py:content="macro2('helmut')" py:strip="">Replace me</div>
17  <greeting name="Dude" />
18  <greeting name="King" />
19  <span class="greeting">Hello Silicon</span>
20 </body>
21</html>
Note: See TracBrowser for help on using the repository browser.