xml.dom.minidom - documentElement vs. childNodes

Skip Montanaro skip at pobox.com
Mon Aug 30 13:49:59 EDT 2004


I'm getting somewhat painfully acquainted with xml.dom.minidom.  What is the
relationship between its documentElement attribute and its childNodes list?
I thought XML documents consisted of a single, possibly compound, node.  Why
is a list of childNodes needed?

Thx,

Skip



More information about the Python-list mailing list