Mercurial > genshi > mirror
annotate examples/includes/skins/default/layout.html @ 38:ee669cb9cccc trunk
Fix for #2 (incorrect context node in path expressions). Still some paths that produce incorrect results, but the common case seems to work now.
author | cmlenz |
---|---|
date | Mon, 03 Jul 2006 11:28:13 +0000 |
parents | b4d17897d053 |
children | 448792ab1303 |
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 <html xmlns="http://www.w3.org/1999/xhtml" |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
2 xmlns:py="http://purl.org/kid/ns#" |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
3 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
|
4 py:strip=""> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
5 <xi:include href="../macros.html" /> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
6 <head> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
7 <title>Hello ${hello}</title> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
8 <style type="text/css">@import(style.css)</style> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
9 </head> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
10 <body py:match="body"> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
11 <xi:include href="header.html" /> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
12 <div id="content"> |
38
ee669cb9cccc
Fix for #2 (incorrect context node in path expressions). Still some paths that produce incorrect results, but the common case seems to work now.
cmlenz
parents:
21
diff
changeset
|
13 ${select('*')} |
21
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
14 </div> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
15 <xi:include href="footer.html" /> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
16 </body> |
b4d17897d053
* Include paths are now interpreted relative to the path of the including template. Closes #3.
cmlenz
parents:
diff
changeset
|
17 </html> |