IntelliJ IDEA 2018.2 Help

Generating Instance Documents From XML Schemas

  1. With the desired Schema (.xsd) file opened in the active editor tab, choose Tools | XML Actions | Generate XML Document from XSD Schema on the main menu. The Generate Instance Document from Schema dialog box opens.
  2. 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 browseButton and select the desired file in the dialog that opens.
  3. In the Instance Document Name text box, specify the name of the output file to place the generated XML in.
  4. 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 browseButton and select the desired path in the dialog that opens.
  5. 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.
  6. Specify whether to take restriction and uniqueness particles into consideration by selecting the corresponding checkboxes.
Last modified: 4 September 2018

See Also