i know XSD is xml schema definition language file used for validating XML just like DTD was doing, but now i really doubt is it a xml file or dataset file?. The reason behind it is , i have c# project contains timberdata.xsd ,but when i opened that i could see a lot of data table that means thats dataset file??. But actually xsd what i know is a schema file for validating xml
when i checked our database mydata.xml i could see an entry of shown below
<?xml version="1.0" standalone="yes"?>
<timberdataSchema xmlns="http://tempuri.org/timberdata.xsd">
So does this xml file is schema file i mean xsd file or the one which i can see in our project “timberdata.xsd” contains lot of datatable so dataset.
One more question is when i checked properties of timberdata.xsd i can see Customtool entry is filled with “MSDataSetGenerator” what does this means?
i can see along with “timberdata.xsd” timberdata.xsc and timberdata.xss both are in xml format which is xsd file??
XSD is always an XML file (XML is format, it does not define anything about what data is).
XSD can easily define parent-child relationship and basic type restrictions needed to define tables – so can be used as database schema. “MSDataSetGenerator” is the “custom tool” that builds whatever files/binaries are needed from the XSD whenever XSD is saved.
Here is explanation of custom tools – Single-File Generators and how MSDataSetGenerator is registered in Registering Single File Generators.
XSD can also define strange and complicated things if you want too…