I have somehow similar problem like this:
How do I select multiple sets of attributes within an XML document using XPath?
My XML data looks like this:
<?xml version="1.0" encoding="utf-8"?>
<Basic>
<Segment>
<Sample value="12" data2="25" data3="23"/>
<Sample value="13" data2="0" data3="323"/>
<Sample value="14" data2="2" data3="3"/>
</Segment>
</Basic>
What's the most simple python way to get those datax
values to lists.
For ex: data2 = ['25','0','2']