XML is a general-purpose specification for creating custom markup languages. It is classified as an extensible language because it allows users to define their own elements. Its main objective is to help information systems share data structures, in particular via the Internet.