Re: Easy question on minidom

2006-06-17 Thread Alex Martelli
Dean Card <[EMAIL PROTECTED]> wrote: > I am using minidom to parse a 20,000 line XML file. I have a few instances > where the number of child nodes of a particular node can be variable in > number. To access them I am doing something like the following... > > xmldoc = minidom.parseString(r) > r

Easy question on minidom

2006-06-17 Thread Dean Card
I am using minidom to parse a 20,000 line XML file. I have a few instances where the number of child nodes of a particular node can be variable in number. To access them I am doing something like the following... xmldoc = minidom.parseString(r) results = xmldoc.childNodes[0] for myNode in res