From: David G. <go...@py...> - 2004-05-08 22:27:43
|
[Lele Gaifax] >> Uhm, it seems that we need a stack of open markups... gasp! [David Abrahams] > Yeah, I started to implement it but I think now that there's already > a heterogeneous stack called "context" that I don't understand and I > don't know how to tell whether I'm breaking the writer or not. The "context" stack is present in the html4css1.py writer also. It's exactly that, a heterogenous stack used in conjunction with the tree traversal. You just have to make sure that the pops correspond to the pushes. If you need to add another stack for open markups, go ahead. -- David Goodger |