O'Reilly logo

Visual Basic® .NET Database Programming by Rod Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

What Is XML?

XML (Extensible Markup Language) is a text-based data storage language. It uses a series of tags that you define to store data. The file may begin with some XML declaration tags, followed by a single root data node that contains all the other data nodes in a hierarchy.

You do not need to explicitly declare the tags; you just start using them. For instance, Listing 7.1 shows an XML file describing three PhoneNumber records.

Listing 7.1. A Simple XML File
 <AddressBook> <PhoneNumber> <LastName>Jenkins</LastName> <FirstName>Jeremy</FirstName> <HomePhone>987-654-3210</HomePhone> </PhoneNumber> <PhoneNumber> <LastName>Ketterling</LastName> <FirstName>Karen</FirstName> <WorkPhone>456-769-2340</WorkPhone> </PhoneNumber> <PhoneNumber> <LastName>Ludovico</LastName> ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required