Re: Re: 0410 snapshot "try-ark"

Harlan Stenn <[email protected]>
Newsgroups gmane.comp.sysutils.ark.devel
Message-ID <[email protected]>
This fragment works:

        # this ought to be Python 2.0 with PyXML 0.6.1 or
        # thereabouts.
        import xml.dom.ext.reader.Sax
        thing_file = open(filename)
        doc  = xml.dom.ext.reader.Sax.FromXmlStream(thing_file)
        root_elem = doc.documentElement
        thing_file.close() # because we're about to reopen it

        root_elem.normalize()
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.