1)Which two of the following are true concerning DOM2 events and validation? (Choose 2) A.Document modifications are subject to validation. B.DOM2 has no way to validate changes after the document is parsed. C.Mouse actions cause Events, but document modifications do not. D.MutationEvents will be sent to listeners when the document is changed. E.MutationEvents indicate which Node was changed, but not the actual action such as add or remove.
3)An auto parts supplier stores customer data as XML in a database in the following format:
Assume that the function XMLCOLUMN("cust.data") returns the XML documents from the database. Which of the following XQuery statements returns an XML document containing the distinct states where the customers are located?