How to read a value from a file and store in a variable?

Hi,
I have a file service.xml which has following content:

<?xml version="1.0" encoding="UTF-8"?>
<Service Ver="2.31.13"/>

I want to read the value of Ver (that is 2.31.13) and assign to a variable which i further use.
Please help me in that.

var=$(awk -F'"' '/<Service/{print $2}' service.xml)
echo $var
2.31.13

thanks :)..that worked

SomeHow that is not working when i include in my MakeFile.

it results <Service Ver="2.31.14"/>

Is there any ohther way than awk ?

---------- Post updated at 05:43 AM ---------- Previous update was at 04:13 AM ----------

grep "Ver" service.xml | cut -d '"' -f2 worked fine .

thanks