Citect SCADA provides a wide range of out-of-the box Composite Genies in the form of XML templates. An XML template contains the definition of a Composite Genie. A library engineer may modify an existing XML template or create new templates defining their own Composite Genies. It is recommended that you make a copy of the template before you modify it so that templates are not overwritten if you re-install Citect SCADA.
IMPORTANT: If you make a copy of a template, you need to assign a new GUID to the template and all the compositions in the template. For more information, see Visual Template and Compositions.
XML templates for Composite Genies are located in the <Citect SCADA installation folder>\ProgramData\Schneider Electric\Citect SCADA 2018\User\<project name>\ Composite Genies folder.
The CompositionTemplate.xsd file, located in the <Citect SCADA installation folder>\bin folder, contains the schema for the Composite Genie XML templates. This file describes the elements and attributes that may be contained in an XML template for a Composite Genie, and the order in which the elements and attributes need to be added to the XML template. The XML template file is validated against the XSD file. When you modify an XML template or create a new one, it is recommended that you use a good XML editor that supports schema error detection so that errors are highlighted and can be addressed easily.
Errors may be encountered if the XML file for a Composite Genie does not conform to the definitions in the underlying XSD. Alternatively, errors may be encountered if there are duplicate IDs for elements, undefined conditions, and so on. In both cases, errors will be reported with details of the line number and position of the error when an operator inserts the Composite Genie on to a page. For more details, see Edit/Update a Composite Genie.
An XML template for a Composite Genie contains the following elements:
Each of these elements is explained in detail in the sections below. It is recommended that you review these sections before you modify existing XML templates or create new templates.
Published June 2018