XML Tutorials - Herong's Tutorial Examples - Version 5.04, by Dr. Herong Yang
What Is XML?
This section provides a quick introduction of XML (eXtensible Markup Language), a markup language for organizing information in text files.
XML (eXtensible Markup Language): A markup language for organizing information in text files.
XML File: A text file that contains information organized in a structure that meets XML standards.
XML can also be viewed as a meta-language for defining more specific markup languages, because it only specifies the structural rules of unspecified tags that are used to organize information. One can easily extend XML to define a specific markup language by specifying a set of tags and their structural relations. Examples of XML-based markup languages include SVG, 3DML, and HRMML.
Here is how to create your first XML file.
1. Use any text editor to enter the following lines of text into a file:
<?xml version="1.0"?> <p>Hello world!</p>
2. Save this file with name: "hello.xml".
Congratulations! You have successfully created an XML file.
Table of Contents