結果 : python xml if attribute exists