You can use an xs:type transform to cast the value of a simple element to a specific data type.
For example, you might want to assign a value with a specific data type to a target element that is defined as xs:anySimpleType.
You can also use any of the input elements to build an XPath conditional expression that determines whether the xs:type transform is applied or not. You set this conditional expression on the Condition tab of the Properties page.
You must choose the xs:type transform according to the output element data type. For example, if you have an output element with a Boolean data type, you must choose xs:boolean transform.
For more information about casting a specific value type to an output element, see Setting the value of an output element with a explicit data type.
You can set a fixed value or define an XPath expression in the Value field that is located in the General tab of a xs:type transform properties view.
To define an XPath expression, you click Edit. Then, you can use content-assist to enter the expression. As part of the expression, you can use any input elements for which you define connections to the transform.
You can define multiple connections between input elements and the xs:type transform. You can then use these input elements in a conditional expression that defines the condition under which the transform is applied. If the condition evaluates to true, the transform is applied.
To define the conditional expression, you can define an XPath expression or a call to a static method on an imported Java™ class. You can also create a complex expression comprising XPath, Java and extension functions such as iib:getUserDefinedProperty("propertyname").
You configure the expression in the Condition tab that is available in the Properties page of the transform.
For more information, see Configuring the properties of a transform, Defining an XPath conditional expression for a transform and Defining a Java conditional expression for a transform.
You can use the input connected with a primary connection to the transform. To add more inputs, you can define supplement connections between input elements and the transform.
You can use any of the following values: true Or false.
For more information, see Casting from primitive types to primitive types.