PyCharm 3.1.0 Web Help

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.

Note

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 the Browse button 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 the Browse button 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 check box to have PyCharm take restriction particles into consideration (if the specified Schema uses any).
Enable unique check Select this check box to have PyCharm 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.

See Also

Concepts:

Procedures:

Reference:

Web Resources: