XML Tutorial
- Previous Page XML Tutorial
- Next Page XML Introduction
XML It refers to Extensible Markup Language (eXtensible MMarkup LLanguage).
XML is intended for storing and transmitting data.
XML is designed to be readable by both humans and machines.
XML Instance 1
<?xml version="1.0" encoding="UTF-8"?> <note> <to>George</to> <from>John</from> <heading>Reminder</heading> <body>Don't forget the meeting!</body> </note>
Display this XML file as a sticky note
XML Example 2
<?xml version="1.0" encoding="UTF-8"?> <breakfast_menu> <food> <name>Belgian Waffles</name> <price>$5.95</price> <description>Two famous Belgian waffles filled with a lot of real maple syrup.</description> <calories>650</calories> </food> <food> <name>Strawberry Belgian Waffles</name> <price>$7.95</price> <description>Light Belgian waffles topped with strawberries and whipped cream.</description> <calories>900</calories> </food> <food> <name>Berry Belgian Waffles</name> <price>$8.95</price> <description>Belgian waffles topped with a variety of fresh berries and whipped cream.</description> <calories>900</calories> </food> <food> <name>French Toast</name> <price>$4.50</price> <description>Thick slices made from our homemade yeast bread.</description> <calories>600</calories> </food> <food> <name>Family Breakfast</name> <price>$6.95</price> <description>Two eggs, bacon or sausage, toast, and our popular hash browns.</description> <calories>950</calories> </food> </breakfast_menu>
Why learn XML?
XML plays a crucial role in many different IT systems.
XML is usually used to distribute data over the Internet.
It is very important to have a thorough understanding of XML (for software developers in all fields!).
What will you learn?
After completing this tutorial, you will have a solid understanding of the following:
- What is XML?
- How does XML work?
- How do I use XML?
- What can XML be used for?
- Important XML Standards
This tutorial will also delve into the following important XML standards:
We recommend that you read this tutorial in the order listed in the menu on the left.
Learn by Example
Examples Are Better Than a Thousand Words. Instances are usually easier to understand than written explanations.
This tutorial provides a large number of examples with detailed explanations. Welcome to try it yourself!
XML Quiz
Test Your XML Skills at CodeW3C.com!
- Previous Page XML Tutorial
- Next Page XML Introduction