Briefing Zend Knowledge

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>

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