Re: Lamaizm... XML problem...

2007-10-09 Thread Stefan Behnel
durumdara wrote: > from xml.dom import minidom [...] >t_props = t_comp.getElementsByTagName('prop') >for t_prop in t_props: >attrs = t_prop.attributes.keys() >print attrs >print t_prop.nodeName >print t_prop.nod

Lamaizm... XML problem...

2007-10-09 Thread durumdara
Hi! Something makes me crazy!!! I wanna read some XML, but everytime I got "None" for the value of prop: The code is: from xml.dom import minidom import sys ResultList = [] def LoadProps(PropTag): print PropTag t_forms = PropTag.getElementsByTagName('form') for t_form in t_forms: