[Twisted-Python] woven bug?

Alex Levy mesozoic at polynode.com
Mon Oct 20 12:29:45 EDT 2003

On Mon, 2003-10-20 at 11:42, Federico Di Gregorio wrote:
> <div view="menu" />

First off, you shouldn't do this. Since div is a block element,
according to XHTML specs it should be <div view="menu"></div>. But
that's not at issue here.

The top node of a template is not processed the same way its child nodes
are; in the past Donovan has tried to implement this, and [from what I
recall] it simply generated more problems than it was worth. The
solution is to have all your templates look like this:

<div><div id="menu">

As long as you're not applying any CSS style information to _all_ divs
(which you shouldn't be), this will not interfere with the presentation
of your pages.

Alex Levy
WWW: http://mesozoic.geecs.org

"Never let your sense of morals prevent you from doing what is right."
-- Salvor Hardin, Isaac Asimov's _Foundation_

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20031020/3320fcea/attachment.pgp 

More information about the Twisted-Python mailing list