How do I parse XML in Python?,print(atype.get('foobar'))