DOM oddity?

Magnus Lie Hetland mlh at idi.ntnu.no
Sat Oct 27 20:54:36 CEST 2001


>From the xml.dom documentation[1]:

  prefix
     The part of the tagName preceding the colon if there is one, else
     the empty string. The value is a string, or None

Under what circumstances can the prefix be None (as opposed to the empty
string)?

[1] http://www.python.org/doc/current/lib/dom-node-objects.html

--
Magnus Lie Hetland
http://hetland.org






More information about the Python-list mailing list