Consider the XML file
<purse>
<coin>
<value>0.5</value>
<name lang=”en”>half dollar</name>
</coin>
<coin>
<value>0.25</value>
<name lang=”en”>quarter</name>
</coin>
</purse>
What are the values of the following XPath expressions?
a. /purse/coin[1]/value
b. /purse/coin[2]/name
c. /purse/coin[2]/name/@lang
d. name(/purse/coin[2]/*[1])
e. count(/purse/coin)
f. count(/purse/coin[2]/name)