Extensible Markup Language (XML) Tutorial

Introduction

The Extensible Markup Language (XML) is a subset of the Standard Generalised Markup Language (SGML), the standard for creating markup documents. Unlike HTML, another markup language based on SGML, XML allows you to describe data and its structure rather than display it. XML is not a replacement for HTML, but compliments it by allowing the author to describe their own tags. XML is extensible as the author can create an unlimited number of tags. There are no predefined tags in XML.

All XML documents should start with a processing instruction to inform the XML parser of the version of XML being used.

<?xml version="1.0" ?>

XML is incredibly easy to learn! It's just a case of defining the structure of your data, and creating some rules for the data in the form of a Document Type Definition. The usefulness of XML comes from its intrinsic property of separating the data from the presentation.

You might also like...

Comments

About the author

Gez Lemon United Kingdom

I'm available for contract work. Please visit Juicify for details.

Interested in writing for us? Find out more.

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC. As potential programmers, they are mentally mutilated beyond hope of regeneration.” - E. W. Dijkstra