Mercurial > genshi > mirror
annotate examples/includes/module/test.html @ 61:448792ab1303 trunk
Use a different namespace than Kid uses.
author | cmlenz |
---|---|
date | Fri, 07 Jul 2006 17:54:52 +0000 |
parents | b4d17897d053 |
children | 84168828b074 |
rev | line source |
---|---|
21
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
1 <!DOCTYPE html |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
4 <html xmlns="http://www.w3.org/1999/xhtml" |
61 | 5 xmlns:py="http://markup.edgewall.org/" |
21
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
6 xmlns:xi="http://www.w3.org/2001/XInclude"> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
7 <xi:include href="${skin}/layout.html" /> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
8 <xi:include href="custom_stuff.html"><xi:fallback/></xi:include> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
9 <body class="$bozz"> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
10 <ul py:attrs="{'id': 'second', 'class': None}" py:if="len(items) > 0"> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
11 <li py:for="item in items">Item ${item.split()[-1]}</li> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
12 XYZ ${hey} |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
13 </ul> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
14 ${macro1()} ${macro1()} ${macro1()} |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
15 ${macro2('john')} |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
16 ${macro2('kate', classname='collapsed')} |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
17 <div py:content="macro2('helmut')" py:strip="">Replace me</div> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
18 <greeting name="Dude" /> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
19 <greeting name="King" /> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
20 <span class="greeting">Hello Silicon</span> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
21 </body> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
22 </html> |