On Sun, Nov 26, 2006 at 01:37:54PM +0000, Jorge Vargas wrote: > > *** Is py:attrs just placing original attributes of <head> and <body> back > > in > > those elements? > remenber those are in the form of master/slave templates, so the code > you have is from master.kid, both tags what they do is something like > this "if the slave has redefined the head tag, replace the default > (what you see here) with that", this is so the slave pages can be of > some other type for example plain html, and to be able to put more > stuff into the head tag like redirects or some other meta.
Thanks! I really appreciate your faithfulness answering questions! All I'm stuck on now is that while py:match is used to REPLACE head and body elements in slave templates....you *still* have content in *slave* templates that ends up in body element!! My master.kid has this which somehow allows slave templates to add stuff to body? <div id="content" py:replace="[item.text]+item[:]"> <p>Body text goes here.</p> </div> What exactly is in item.text and item[:]?? I assume item corresponds to <div id="content"> element in slave? Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss