xml.dom.minidom childnodes
Mark McEahern
mark at mceahern.com
Sun Jan 18 12:46:42 EST 2004
On Sun, 2004-01-18 at 11:04, Vincent De Baere wrote:
> As you can see in the xml file, there is a newline after the (root)
> documentelement. I guess that's why I need to use menurootchildren[1]
> instead of menurootchildren[0] to access the first child.
Why not use getElementsByTagName and punt on the whole variable
whitespace as childNodes business?
Cheers,
// m
More information about the Python-list
mailing list