Where is xml.dom.core?

Lars Kellogg-Stedman lars at larsshack.org
Mon Nov 5 11:50:58 EST 2001


I'd like to start using python for some XML generation.  I've got python
2.1.1 and PyXML 0.6.6, but all of the tutorials and examples I've come
across start out with:

  from xml.dom import core

Which on my system results in:

  >>> from xml.dom import core
  Traceback (most recent call last):
    File "<stdin>", line 1, in ?
    ImportError: cannot import name core

I'm going to be *generating* xml, so my impression is that I want the
Builder module (xml.dom.builder).  But it's not here either...

So what am I missing?

Thanks!

-- Lar

-- 
Lars Kellogg-Stedman <lars at larsshack.org> --> http://www.larsshack.org/




More information about the Python-list mailing list