1.Go to local object library in data services designer. Click Formats -> XML Schemas
2.Right click on XML schemas and click on new
3. A new window pops up. Give the desired format name under the tab Format name
1. 4.We have to browse the xml schema file. Files in .XSD format have to be used. For this we can use any tools available to convert a .xml file into .xsd file.
The content of xml file used in this example is
After converting to .XSD file the contents becomes as given below
5. Import the xml schema.
1. 6. If the file imported is not proper (format issue),then an error will be thrown while importing.
Rectify the error and import the proper xml schema.
7.After importing successfully give the corresponding Root element name from the drop down.
1. 8.Click Ok.
The imported schema will be found under XML Schemas in local object library.