[XML-SIG] Incompatible and bugs
uche.ogbuji@fourthought.com
uche.ogbuji@fourthought.com
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
> are.
This part is my fault. I should have updated the docs.
Basically:
from xml.dom.ext.reader import Sax2
reader = Sax2.Reader(validate=0)
xml = "<spam/>"
xml_doc = reader.fromStream(stream)
See
http://lists.fourthought.com/pipermail/4suite/2000-November/000619.html
for more details
I'll update the docs.
--
Uche Ogbuji Principal Consultant
uche.ogbuji@fourthought.com +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