
XML means eXtensible Markup Language whereas XSD means XML Schema definition. XML documents transfer data to and from web services. XSD defines the structure and data type of the elements in an XML document. Use XSD to validate the content of an XML document. You may need to modify the automatically generated XSD to fulfill business requirements.
Flame-Ware Instructions
Step 1
Create an XML document. For example, an employee records file may look like:
Video of the Day
Step 2
Save the XML document.
Step 3
Visit the Flame-Ware website (see References).
Step 4
Insert the full path name of the local XML document in the text box for file name.
Step 5
Press the "Convert" button. The generated XSD will appear in the text area at the bottom of the page.
Step 6
Save the generated XSD to your computer.
Step 7
Modify the content of the XSD if necessary. For example, in the employee records file to indicate that SSN is a required field and it must have nine digits, the XSD file would look like:
<xs:element name="ssn" minOccurs="1" maxOccurs="1" msdata:Ordinal="1"> xs:simpleType <xs:restriction base="xs:string"> <xs:pattern value="[0-9]{9}"/>
Step 8
Save the modified XSD file.
Hit Software Instructions
Step 1
Visit the Hit Software website for an XML utility (see References). Insert the name of the XML document in the text box labeled as "XML Document."
Step 2
Press the "Generate XML Schema" button to generate XSD.
Step 3
Modify the content of the XSD and save the XSD.
XML Schema Generator
Step 1
Visit the xmlforasp.net for the XML schema generation page (see References).
Step 2
Insert the content of your XML document or corresponding URL in the text box.
Step 3
Press the "Generate Schema" button.
Step 4
Modify the generated XSD, and save.