XSD(XML Schema) is the defination of a XML content and its written in XML format. So XML can can be generated easily from its XSD. XML generator tool generates XML from XSD. Its read XSD amd produces sample XML cotent. XSD / XML Schema is the input to the tool. If you want to make a XML file from source XSD(Schema) file, you could get your XML by just a button click.. Just need to provide the XSD contents. Tool will analyze the XSD and will generate XML with default values.This XML generator tool supports all 3 style of XSD.
- Russian Doll
- Salami Slice
- Venetian Blind
Note:
It does support XSD include and import
, But if your XSD refer(include / import) to other XSD, that referred
XSD
needs to be available for download. The URL it uses to download the
XSD is derived by concatenation namespace and schemaLocation attribute
value.
Example: .
<xsd:import
namespace="http://www.easycodeforall.com/schematyxsd/"
schemaLocation="xyz.xsd"/>
For above import statement,
the derived URL to Download xyz.xsd is
http://www.easycodeforall.com/schematyxsd/xyz.xsd
How It Works:
It works based on the input XSD(Schema).It check the correctness of the
XSD and analyse it's structure to identify elements and attributes of
the target XML document. Generate XML based on the element and attribute
decleration. It setup default value based on the data type the
attributes.
If the XSD document contains more than one element, it will generate XML
for all elements. XML can not be validated against the XSD).
Steps to follow:
- Put XSD content in the text area.
- Click on 'Generate XML button' button. Generated XML will be
displayed in the next page in a text area.
- Copy and save it. Or Click on 'View On Browser' button to view
generated XML in browser.