I'm trying to extract all attribute values from a large xml file
s = '<some id="Foo" menu="BAAR"></some>'
output = re.findall( '="(.*)"' ,s)
print output
I'm expecting out put
['Foo','BAAR']
However I'm getting
['Foo" menu="BAAR']
Can anyone please help me pointing out what I'm doing wrong ?