2.8. XML Validation

System Designer has an option to validate any XML against Code Generator. For example, you can see if the data type that you are defining is valid or not.

To validate the XML, select the XML view, select the XML file from the list of XML files used by the current project, then click the Check with CodeGen button.

Validate XML

Code Generator will generate code with the file that is selected in the XML File drop-down menu. The result of this operation will be shown once Code Generator finishes parsing the input file.

Validate XML result