>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