I am using python2.5 (downloaded and installed about a week ago).

I am attempting to validate an XML file, using the appropriate DTD.  In
looking at the ASPN Cookbook, it appears that I am suppossed to use the
following imports:

from xml.parsers.xmlproc import xmlproc
from xml.parsers.xmlproc import xmlval
from xml.parsers.xmlproc import xmldtd

However, when I attempt to run my python program, I get the following
errors:

Traceback (most recent call last):
  File "./feedManager.py", line 62, in <module>
    from xml.parsers.xmlproc import xmlproc
ImportError: No module named xmlproc

I have tried just importing xml.parsers, and that has no issue.  Is there a
known issue with the latest release of ActivePython and xmlproc?

Thanks for any information or help that you can provide.

-- 
Fraser MacKenzie
[EMAIL PROTECTED]
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to