[XML-SIG] Incompatible and bugs
Fri, 17 Nov 2000 08:56:24 -0700
> 3) The documentation suggests to use xml.dom.ext.reader.Sax2.FromXml,
> but in the source it is marked as deprecated.
> What functions should I use then to build DOM trees? If you mark
> something deprecated you should also write what the new functions
This part is my fault. I should have updated the docs.
from xml.dom.ext.reader import Sax2
reader = Sax2.Reader(validate=0)
xml = "<spam/>"
xml_doc = reader.fromStream(stream)
for more details
I'll update the docs.
Uche Ogbuji Principal Consultant
firstname.lastname@example.org +1 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python