What is an XSD file?
A. XSD file is an XML based alternative to Document Type Definition (DTD). It is based on XML schema language which describes the structure of an XML document. An XML schema defines the legal building blocks of an XML document, just like a DTD. An XML Schema: •Defines elements that can appear in a document. •Defines attributes that can appear in a document. •Defines which elements are child elements. •Defines the order of child elements. •Defines the number of child elements. •Defines whether an element is empty or can include text. •Defines data types for elements and attributes. •Defines default and fixed values for elements and attributes.