Create an XML out of an XSD Schema



Step 1: Open Eclipse and Create a New XML Project




Step 2: Load the XSD in the XML Project

Step 3: Right Click on the XSD and Click on Generate > XML File


Step 4: Set the Filename and Click Next


Step 5: Select on "Create optional attributes” if you want to add the optional attributes

Step 6: Select on "Create optional elements” if you want to add the optional elements


Step 7: Click on "Finish (button)" to create the XML file


Step 8: You can now see the XML file generated from the Project Pane

Step 9: View the XML's contents in the Content Pane.



3 comments:

Recent Posts

SQL Fundamentals

Introduction to SQL and Syntax What is SQL? SQL stands for Structured Query Language. is a standard programming language for accessing datab...

Top Posts