Edgewall Software

source: trunk/examples/basic/layout.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: 628 bytes
Line 
1<div xmlns:py="http://purl.org/kid/ns#" py:strip="">
2  <head>
3    <title>Hello ${hello}</title>
4    <style type="text/css">@import(style.css)</style>
5  </head>
6  <div py:def="macro1">reference me, please</div>
7  <div py:def="macro2(name, classname='expanded')" class="${classname}">
8    Hello ${name.title()}
9  </div>
10  <span py:match="item.tag == '{http://www.w3.org/1999/xhtml}greeting'" class="greeting">
11    Hello ${item.get('name')}
12  </span>
13  <span py:match="item.tag == '{http://www.w3.org/1999/xhtml}span' and item.get('class') == 'greeting'"
14        py:content="item.text" style="text-decoration: underline" />
15</div>
Note: See TracBrowser for help on using the repository browser.