You are here: Start » Program Examples » User Defined Types for Xml database
User Defined Types for Xml database
Aim:
This program shows how to work with custom user-defined types.
There are two user types defined:
-
Person type contains fields: FirstName, LastName, Address, Department
-
Department type - it is an enumeration type which contains options: Art, News and Science
Input:
The Xml database containing contact details.
Output:
The contact details presented on HMI.
Hints:
To get the contact details, handling Xml file tools will be needed. Creating user types is explained in this article.
Solution (FIS):