CLion 2024.1 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 from the main menu. The Generate Instance Document from Schema dialog opens.

  2. In the Schema Path field, 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 the Browse button and select the desired file in the dialog that opens.

  3. In the Instance Document Name field, 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 the Browse button and select the desired path in the dialog that opens.

  5. From the Element Name 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: 28 June 2024