nerdexam
IBM

C2040-403 · Question #40

Given the XForms Instance: Which of the following is an absolute XPath query that will return all the book elements written in English?

The correct answer is D. instance('INSTANCE')/bookstore/book[@lang="en"]. See the full explanation below for the reasoning.

Question

Given the XForms Instance:

Which of the following is an absolute XPath query that will return all the book elements written in English?

Exhibit

C2040-403 question #40 exhibit

Options

  • Abookstore/book[lang="en"]
  • Bbookstore/book[@lang="en"]
  • Cinstance('INSTANCE')/bookstore/book[lang="en"]
  • Dinstance('INSTANCE')/bookstore/book[@lang="en"]

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    5% (1)
  • C
    9% (2)
  • D
    82% (18)

Community Discussion

No community discussion yet for this question.

Full C2040-403 Practice