XML Tutorial

XML tutorial

XML tutorial is designed for beginners and professionals. Our XML tutorial provides a detailed knowledge of XML technology like what is xml, features of xml, xml example, xml related technologies, creating xml structure by DTD, creating xml structure by schema (XSD), difference between DTD and schema.

XML Validation

XML file can be validated by 2 ways:

  1. against DTD
  2. against XSD

DTD (Document Type Definition) and XSD (XML Schema Definition) are used to define XML structure.

XML DTD

In our XML tutorial, you will learn about DTD file, creating xml with DTD, using CSS file, CDATA vs PCDATA and difference between DTD and XML schema.

Let's see an example of XML using DTD file.

employee.xml

Test it Now

A detailed description of XML with DTD is given in next pages.


XML Schema

In this XML tutorial, we will provide a detail description of schema file, XML schema validation, XML schema data types and XML parsers.

Let's see an example of XML using XSD file.

Test it Now

A detailed description of XML with XSD is given in next pages.


XML Index



Prerequisite

Before learning XML, you must have the basic knowledge of HTML.

Audience

Our XML tutorial is designed to help beginners and professionals.

Problem

We assure that you will not find any problem in this XML tutorial. But if there is any mistake, please post the problem in contact form.

Next TopicWhat is XML