What is the difference between XML and XSD?

Gandalf StormCrow picture Gandalf StormCrow · Feb 25, 2010 · Viewed 130.9k times · Source

What is the difference between Extensible Markup Language (XML) and XML Schema (XSD)?

Answer

anthares picture anthares · Feb 25, 2010

Actually the XSD is XML itself. Its purpose is to validate the structure of another XML document. The XSD is not mandatory for any XML, but it assures that the XML could be used for some particular purposes. The XML is only containing data in suitable format and structure.