25 Jul
2000
25 Jul
'00
1:59 a.m.
I can' t seem to get beyond importing Document (cannot import name Document). Do I need to import other modules? Is this the best/only way to do this?? Appreciate any help.
from Products.XMLDocument import Document
I think you missed an 'XMLDocument'. from Products.XMLDocument.XMLDocument import Document That is: import the Document class from the XMLDocument module (file) in the XML package (directory) in the Products package. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998