Generating instance documents from XML schemas
With the desired Schema .xsd file opened in the active editor tab, choose on the main menu. The Generate Instance Document from Schema dialog box opens.
In the Schema Path text box, specify the location of the Schema to base the XML document generation on. By default, the field shows the full path to the current file. Accept this suggestion or click Browse and select the desired file in the dialog that opens.
- In the Instance Document Name text box, specify the name of the output file to place the generated XML in.
Specify the location of the generated document. By default, it will be placed in the same directory as the source Schema file. To specify another location, click Browse and select the desired path in the dialog that opens.
From the Element Name drop-down list, select the local name of the global element to be used as the root of the generated XML document.
Specify whether to take restriction and uniqueness particles into consideration by selecting the corresponding checkboxes.