how do xsd files work?
XSD provides the syntax and defines a way in which elements and attributes can be represented in a XML document. It also advocates that the given XML document should be of a specific format and specific data type. ... XSD schema provides the ability to specify data types for both elements and attributes.