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

 About This Book

Introduction of XML (eXtensible Markup Language)

What Is XML?

 Main Features of XML

 XML File Syntax

 XML File Browsers

 DOM (Document Object Model) Programming Interface

 SAX (Simple API for XML) Programming Interface

 DTD (Document Type Definition) Introduction

 Syntaxes of DTD Statements

 Validating an XML Document against the Specified DTD Document Type

 XSD (XML Schema Definition) Introduction

 Syntaxes of XSD Statements

 Validating XML Documents Against Specified XML Schemas

 XSL (Extensible Stylesheet Language) Introduction

 XSLT (XSL Transformations) Introduction

 Java Implementation of XSLT

 XPath (XML Path) Language

 XSLT Elements as Programming Statements

 Control and Generate XML Element in the Result

 XML Notepad - XML Editor

 XML Tools Plugin for Notepad++

 XML 1.1 Changes and Parsing Examples

 Outdated Tutorials


 PDF Printing Version