PyXML
Venkatesh Prasad Ranganath
rvprasad at cis.ksu.edu
Thu Feb 1 17:42:43 EST 2001
Hi,
The example is
from xml.dom.ext.reader.Sax2 import Reader
from xml.dom.ext import PrettyPrint
import sys
i = open(sys.argv[1])
j = Reader(1).fromStream(i)
i.close()
PrettyPrint(j)
print "++++", j.doctype.__systemId, "----"
Nothing is printed between ++++ and ----
Also, shouldn't Line 61 in _xmlplus/dom/NamedNodeMap.py be
return self.get(('', name))
and Line 65 in _xmlplus/xpath/XPathParserBase.py be
if XPath.cvar.g_errorOccured == 1:
--
Venkatesh Prasad Ranganath
More information about the Python-list
mailing list