Checking It

Select the correct answer to the following questions.

Multiple Choice

1:How can you load an XML document into an XmlDocument object?
  1. Use the XmlDocument Load method along with a filename.

  2. Use the XmlDocument Load method and an XmlTextReader object.

  3. Use the XmlDocument Load method and an XmlValidatingReader object.

  4. All of the above.

2:How do you validate an XML document?
  1. Use the XmlDocument Load method.

  2. Use the XmlDocument Validate method.

  3. Use an XmlValidatingReader and handle the ValidationEventHandler event.

  4. None of the above.

3:How would you find specific nodes in a loaded XML document?
  1. Call the Find method on the XmlDocument object.

  2. Call ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.