Consider the XML file What are the values of the following XPath expressions? a. /purse/coin[1]/value b. /purse/coin[2]ame

Question:

Consider the XML file

image text in transcribed

What are the values of the following XPath expressions?

a. /purse/coin[1]/value

b. /purse/coin[2]ame

c. /purse/coin[2]ame/@lang

d. name(/purse/coin[2]/*[1])

e. count(/purse/coin)

f. count(/purse/coin[2]ame)

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: