Mercurial > genshi > mirror
view 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 |
line wrap: on
line source
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#" xmlns:xi="http://www.w3.org/2001/XInclude" py:strip=""> <xi:include href="../macros.html" /> <head> <title>Hello ${hello}</title> <style type="text/css">@import(style.css)</style> </head> <body py:match="body"> <xi:include href="header.html" /> <div id="content"> ${select('*')} </div> <xi:include href="footer.html" /> </body> </html>