Which of the following are correct statements with respect to XML? (i) It is…

2022

Which of the following are correct statements with respect to XML? (i) It is used to display data only. (ii) XML can be used as a database. (iii) XPATH is used to store the IP address of the server. (iv) XLL definition is used along with XML to specify the links with other documents.

  1. A.

    Only (i) and (ii)

  2. B.

    Only (i), (ii) and (iii)

  3. C.

    Only (ii) and (iv)

  4. D.

    Only (iii) and (iv)

Attempted by 112 students.

Show answer & explanation

Correct answer: C

Statement (i) is false: XML is used to store and transport data, not just display it. Statement (ii) is true: XML can act as a data storage structure (XML databases exist). Statement (iii) is false: XPath is used to navigate/select nodes in an XML document, not to store IP addresses. Statement (iv) is true: XLL (XLink) is used with XML to define links between documents.

Explore the full course: Up Lt Grade Assistant Teacher 2025