What is XML (eXtensible Markup Language)?

Bharath Thippireddy
A free video tutorial from Bharath Thippireddy
IT Architect and Best Selling Instructor- 400000+ students
4.5 instructor rating • 31 courses • 413,717 students

Learn more from the full course

XML and XML Schema Definition in Easy Steps

Learn,Design and Practice XML and XML Schema creation from scratch in simple steps.

04:43:06 of on-demand video • Updated March 2021

  • Learn what ,why and when to use XML
  • Create XML Documents from scratch
  • Know the various components of a XML document
  • Understand the welformed-ness rules
  • Learn the XML Schema Concepts
  • Create XML Schemas from scratch
  • Validate the XML documents using XML Schema
  • Create XML Schema simple and complex types
  • Include and Import from other Schema files
English In this lecture you will learn what XML is. XML stands for Extensible Markup Language. As the name itself says we can create our own markup required for our business purposes using XML. If you are familiar with HTML then you know that HTML provides a predefined set of elements that add special meaning to the data that they wrap. For example, John here in bold surrounded by the b tags, HTML tags will be interpreted by the web browsers like Internet Explorer, Chrome and Firefox in bold. H1 will display this text here, Welcome To The World of XML in a slightly bigger font and in bold. So HTML adds a special meaning to the data or it adds presentation value to the date it wraps and it has a predefined set of elements. Whereas XML doesn't have any predefined set of elements. It allows us to create our own XML. Using XML we can define our own markup. For example, if we are working on Ecommerce application, we can create a OrderML which will have the OrderId, LineItems, ShippingAddress and all that we need for the order data. Similarly if we are working on a news portal, then we can create a NewsML which can carry the Headlines, Politics information, political information or political news as well as Sports data. Applications can then use this XML to save it, to manipulate and display it to the end user or even to exchange this information with other applications. That is the power of XML. To summarize, XML which stands for Extensible Markup Language unlike HTML, it doesn't have any predefined set of elements. It allows us to create our own markup language or markup elements so that our applications can use the data however they want and they can do whatever they want to do with that data very easily.