[XML-SIG] need some help...
Fri, 3 Nov 2000 16:54:25 +0100 (CET)
The doc is slightly outdated. I think that more up to date stuff can be
found somewhere on sourceforge, since PyXml has moved there.
As for creating DOMs, you can do the following:
from xml.dom.ext.reader import Sax2
d1 = Sax2.FromXml('<doc>put your XML code here</doc>')
d2 = Sax2.FromXmlFile('/tmp/file.xml')
I'm not a sax specialist, but if you have questions about the DOM api in
PyXml, I'll be glad to answer. In the meanwhile, you may want to check
http://www.fourthought.com : it's their implementation of DOM that's used
in PyXml, but these guys have something called 4Suite which adds XPath and
XSLT to DOM, and this roars.
Narval is the first software agent available as free software (GPL).
LOGILAB, Paris (France).