PrepAway - Latest Free Exam Questions & Answers

What XML component does the following XPath query try to match?

What XML component does the following XPath query try to match?
<code>
//foo[bar/@id=5]
</code>

PrepAway - Latest Free Exam Questions & Answers

A.
barelement with an id attribute whose value is equal to 5

B.
foo element containing a child node bar tag

C.
id attribute whose value is equal to 5

D.
foo element with a child note bar whose id attribute is equal to 5

E.
all of the foo elements that have a child node bar, whose id attribute is equal to 5

One Comment on “What XML component does the following XPath query try to match?


Leave a Reply

Your email address will not be published. Required fields are marked *