Oracle
1Z0-478 · Question #9
View the Exhibit. For the XML shown, which XPath expression returns exactly one node?
The correct answer is B. /purchaseOrder/items/item[0]/quantity. See the full explanation below for the reasoning.
Question
View the Exhibit. For the XML shown, which XPath expression returns exactly one node?
Exhibit
Options
- A/purchaseOrder/orderDate
- B/purchaseOrder/items/item[0]/quantity
- C/purchaseOrder//item
- D/purchaseOrder//comment[not(following: : description) ]
How the community answered
(41 responses)- A10% (4)
- B83% (34)
- C2% (1)
- D5% (2)
Community Discussion
No community discussion yet for this question.
