[XML-SIG] normalize_whitespace()
Thomas Gagne
tgagne@ix.netcom.com
Mon, 14 Aug 2000 14:39:29 -0400
Is this the right function name? It's described in the documentation for
PyXML-0.5.5.1 but when I try to use it after:
from xml.sax import saxlib
from xml.sax import saxexts
I get:
tgagne:/home/tgagne/work/efinnet/xml !sa
sax1.py
Traceback (innermost last):
File ".//sax1.py", line 32, in ?
parser.parseFile(fh)
File "/usr/lib/python1.5/site-packages/xml/sax/drivers/drv_pyexpat.py", line
77, in parseFile
if not self.parser.Parse(fileobj.read(),1):
File "/usr/lib/python1.5/site-packages/xml/sax/drivers/drv_pyexpat.py", line
48, in startElement
self.doc_handler.startElement(name,saxutils.AttributeMap(attrs))
File ".//sax1.py", line 12, in startElement
self.currentElement = normalize_whitespace(name)
NameError: normalize_whitespace