Destination filter
The option if exists checks if the source attribute node is present in the source XML message. If you enable the option With empty check the condition will also check that the source attribute node has content. Note that this option is only available for String data types that accept empty content like
xs:string
or xs:base64Binary
Only when this is true, the transformation to the destination attribute is performed. This simple option is mainly intended for mapping rules where both the source and destination attributes are optional.
The XPath option allows you to fully customize the condition with a custom XPath expression. Technically, the XPath you enter will be used as the condition of a <xsl:if>
statement in the generated stylesheet. Use the view XSLT button to see a preview how your XPath will be embedded in the resulting XSLT.
If this option is enabled, an extra condition will be added to the ifExist check. This extra condition will check if the source attribute has content. If both conditions are true, the transformation to the destination attribute is performed
This is mainly useful for xs:string
source attributes, since an empty xs:string
will pass the XSD validating filter and the ifExists check will not be sufficient to filter messages where the node does not have content.
Only generates the destination attribute if the specified condition is met.
This operation only generates the destination attribute if the specified condition is met. This is particularly useful for optional destination attributes.
The option if exists checks if the source attribute node is present in the source XML message. If the option With empty check is enabled the condition will also check that the source attribute has content. Note that this option is only available for String data types that accept empty content like xs:string
Only when this is true, the transformation to the destination attribute is performed. This simple option is mainly intended for mapping rules where both the source and destination attributes are optional.
The XPath option allows you to fully customize the condition with a custom XPath expression. Technically, the XPath you enter will be used as the condition of a <xsl:if>
statement in the generated stylesheet. Use the view XSLT button to see a preview how your XPath will be embedded in the resulting XSLT.