This example illustrates the validation of input data. Note that the validation process consists of the specification of occurrence of values of objects and of the specification of method which checks the value of an object. Note also that for the specification of string literal there are used delimiters ' (apostrophe). Since XML allows to use both " and ' characters as a delimiter of attribute value you can reverse usage of them (you can try it here).

X-definition

Input data

   Both X-definition and/or input data you can edit in approptiate window