PyCharm Edu 2019.1 Help

Generate Instance Document from Schema Dialog

Tools | XML Actions | Generate XML Document from XSD Schema

In this dialog box, specify the options for generating an XML file based on the XSD (XML Schema Definition) Schema that describes its structure.

The menu item and the dialog box are available when the file opened in the active editor tab contains an XML Schema.

Item

Description

Schema path

In this field, specify the location of the XSD Schema file to be used as the basis for XML document generation.
By default, the field shows the full path to the current file. To use another Schema, click Browse browseButton and select the desired file in the dialog that opens.

Instance document name

In this text box, specify the name of the output XML file to be generated. By default, the generated XML file will inherit the name of the source Schema and will have the XML extension. If you type another name for the document to be generated, make sure the extension is correct.

The default location for the generated document is the directory where the source XSD Schema file resides. To specify another location, click Browse browseButton and select the desired path in the dialog that opens.

Element name

In this drop-down list, specify the local name of the global element to be used as the root of the generated document.

Enable restriction check

Select this checkbox to have PyCharm Edu take restriction particles into consideration (if the specified Schema uses any).

Enable unique check

Select this checkbox to have PyCharm Edu take uniqueness particles into consideration (if the specified Schema uses any).

Status

View the information in this read-only field to track and improve discrepancies when configuring the generation procedure.

Last modified: 29 June 2019