From the course: XML Essential Training

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Describing data with XML

Describing data with XML

- [Instructor] So recall earlier, I stretched the importance that one of the main purposes of XML is to structure and describe information. We're going to take a look at an example of that right now. So to illustrate an example, let's consider some information that you would typically find on a business card, such as a person's name, right? Various phone numbers, maybe an email address, and there might be some additional information on a business card, but just to keep the example simple, I'll leave it at this, right? Okay, so which one's my work number? Well, you don't know, right? Which is why business cards usually also provide things like labels that clearly identify what the information means. So once the labels are visible, you can see, you know, oh, okay, the work number is the 800 number, and so on. Those labels are there to describe the information that's on the business card and this is an example of what XML does. It applies descriptions and structure to the data that you…

Contents