Read data from xml file

Hi, I receive an xml file that looks like this:

<?xml version="1.0" encoding="UTF-8"?>

energy_data
active_power_TOT="68.41" />

I want to read that 68.41 inside active_power_TOT. How can I do it?

Hi, I receive an xml file

How? Specifically, what do you do with the characters that make up the response?

How can I do it?

That depends on the answer to the above questions, that I should not have had to ask. This IS the Programming forum, and one of the requirements for posting here is to post your code.

Read the stickies at the top of the forum - the ones you didn't read before posting - to learn how to do so properly.