> 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



_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to