What is the difference between XML and XSD?


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


Answers:


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.