XML parsing per record
Fredrik Lundh
fredrik at pythonware.com
Fri Apr 22 09:51:08 EDT 2005
Willem Ligtenberg wrote:
> By the way, I know about findall, but when I iterate thruogh it like:
> for x in function:
> print 'function', x
>
> I get:
> function <Element 'Prot-ref_name_E' at 0xb7d10cf8>
> function <Element 'Prot-ref_name_E' at 0xb7d10d10>
>
> But ofcourse I want the information in there...
for x in function:
print 'function', x.text
</F>
More information about the Python-list
mailing list