[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- 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
Traceback (innermost last):
  File ".//sax1.py", line 32, in ?
  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
  File ".//sax1.py", line 12, in startElement
    self.currentElement = normalize_whitespace(name)
NameError: normalize_whitespace