XML Tutorial

XML stands for Extensible Markup Language. It is used to transport and store data. It is platform-independent and language independent. It is widely used in web-services.

It is designed to transport and store data. It has user executive tags i.e. no pre-defined tags like HTML. It is platform independent and language independent language.

IndexTitle
TutorialFeatures of XML
TutorialHTML vs XML
TutorialSyntax
TutorialXML Technologies
TutorialXML Documents
TutorialXML Comments
TutorialXML Tags
TutorialXML Processing
TutorialXML Validation
TutorialXML DTD
TutorialXML CSS
TutorialXML Schema
TutorialXML DOM
TutorialDTD vs XSD
TutorialXML Namespace
TutorialXML Database
TutorialXML Parser

XML Example

<?xml version="1.0" encoding="UTF-8"?>      
<emails>      
<email>      
        <to>Ajay</to>      
        <from>Arun</from>      
        <heading>Hello</heading>      
        <body>Hello brother, Good morning!</body>      
</email>      
<email>      
        <to>Abhay</to>      
        <from>Amit</from>      
        <heading>New year wish</heading>      
        <body>Happy New Year Abhay</body>      
</email>      
<email>      
        <to>Raj</to>      
        <from>Priya</from>      
        <heading>Morning walk</heading>      
        <body>Please start morning walk to stay fit!</body>      
</email>      
<email>      
        <to>Kunal</to>      
        <from>Krishna</from>      
        <heading>Health Tips</heading>      
        <body>Smoking is injurious to health!</body>      
</email>      
</emails>

Prerequisite

To learn XML, you must have the knowledge of computer fundamentals only.

Audience

This XML tutorial is written to help beginners and professionals both.