WHAT DOES THE XQUERY QUERY( ) METHOD DO

17. What does the XQuery Query( ) method do?

A. Returns XML data that matches a query.

B. Returns the node of the query.

C. Returns an extracted value from an XML document.

D. Checks for the existence of a value in an XML document.

The correct answer is A. Answers B, C, and D are incorrect because these

events are not valid results of using the query( ) method.