Applying It

Try to complete the following exercises by yourself.

Independent Exercise 1

Create the following XML document using Visual Studio .NET.

<?xml version="1.0" encoding="utf-8" ?>
<Book>
    <Chapter title = "Introduction">
    </Chapter>
    <Chapter title = "More Information">
    </Chapter>
    <Chapter title = "Advanced Information">
    </Chapter>
</Book>

Independent Exercise 2

Create a new Console application project. Using the XML document created in Exercise 1, write code to load the document, and find the “More Information” chapter node.

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.