[XML-SIG] Element.firstChild() returns error

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue, 7 Nov 2000 02:15:27 +0100

> ?
> The 4DOM NodeList class subclasses UserList so it does provide __getitem__, 
> __len__ and all that.

Oops, I shouldn't be studying complex Python source so late at night.

So I take that back: you *can* use

  for n in node.childNodes:

both in minidom and 4DOM.