nerdexam
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

1Z0-478 question #9 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)
  • A
    10% (4)
  • B
    83% (34)
  • C
    2% (1)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-478 Practice