Mike Orr wrote:
The interface between all these "extras" and Kid seems to be an
ElementTree node.  The extra thingy generates it, and Kid knows how to
interpret it.  So maybe if Cheetah knew how to interpret it too,
everything would be hunky-dory.  (My, I'm using a lot of corny slang
today.  It must mean I'm very tired.)  Actually, if the thingy has a
suitable .__str__() method that produces the appropriate HTML, the
work would already be done.  Oh, but ElementTree produces XML not
HTML, darn.  A Cheetah filter would have to do the conversion.  Well,
that's not an insurmountable task.


In regard to HTML serialisation, maybe Ian would contribute his patch to ElementTree [1] as used for Commentary?

[1] http://blog.ianbicking.org/xml-processing.html#comments


Simon

Reply via email to