[XML-SIG] Re: FREE DOM

Fredrik Lundh fredrik@pythonware.com
Tue, 8 Sep 1998 21:49:49 +0100


Ken MacLeod wrote:
>
> /F wrote:
>> I definitely prefer the "destroy" pattern (or rather, I prefer to
>> use visitors for this, but that's another story).
>
>I've used a proxy-iterator to solve this problem and it seems to be
>working well.

Now that you mention it...

(short break while /F loads the "opal" project into opal)

module opal.core.XML:
    class XMLNode
    class XMLParser
    class XMLTreeBuilder(XMLParser)
    class XMLIterator
    def load
    def dump

(You're right, of course; if it doesn't violate the COM API,
this is a much better solution...)

Cheers /F
fredrik@pythonware.com
http://www.pythonware.com