.. include:: vars.rst .. _section-xml-validation: XML Validation -------------- |SD| has an option to validate any XML against |CODEGEN|. 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. .. figure:: static/validate_xml_selected.png :alt: Validate XML :name: validate_xml :align: center :figwidth: 90% |CODEGEN| 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 |CODEGEN| finishes parsing the input file. .. figure:: static/validation_result.png :alt: Validate XML result :name: validation_result :align: center :figwidth: 90% :width: 429px :height: 145px