Prepare an XML file
- Last UpdatedJul 29, 2024
- 1 minute read
The following procedure describes how to create an XML file and import a window definition into an InTouch application.
-
Create an XML file. This does not define the tools to use, or basic XML syntax.
-
Check the XML file for adherence to XML formatting standards. You can verify the syntax of your XML file with the help of XML validation tools. To view your XML file, open it in Internet Explorer.
-
Prepare the tags in the application. You can use the InTouch DBDump and DBLoad utilities to extract, modify, and reload tags. For more information on DBDump, DBLoad, and the CSV file, see AVEVA™ InTouch HMI Application Maintenance.
-
Prepare a WindowMaker command file to perform the functions you need to accomplish.
-
Exit from your InTouch application, WindowMaker, and WindowViewer.
-
Run the WindowMaker command file from a command line prompt, or run the command file from a program or from an IDE extension.
-
Check for errors. If you defined an error log file, check it and check the Logger. If you ran the command file from a program, check the return code.
The following sample files help you create and import window definitions using the XML import functionality:
-
Sample XML file that loads a window definition into an InTouch application.
-
Sample command file.
-
Two schema files. The import parser does not use these schema files. The schema files are more restrictive than the XML import parser.
Note: Schema files are available in the InTouch installation folder after the installation is complete.