XML is a markup language that represents text information in a standard format. It was designed to transport and store information in a reliable way. XML has a wide range of applications and is just a formalism unlike HTML. XML documents can be validated against a DTD to check that they conform to the defined syntax rules and are well-formed.