In this section of the course we will learn how to work with XML. This is important before we can learn how to integrate AJAX into our PHP pages, and really take our web applications to the next level.
First let's explore XML and its usage.
XML stands for Extensible Markup Language and its main purpose is to store and transport data. The language is very similar to HTML.
Despite this similarity, it's important to keep in mind that XML was specifically designed to transport data in a structured format. HTML on the other hand was designed to display data in a web browser.
Another key difference is that XML tags are not predefined like HTML tags are.
Here is an overview of the main characteristics of XML:
<head>tag with the page
<title>. In our
<body>we have a student's name contained within
<?xml version="1.0" ?>
</student>), similar to HTML.