When the type attribute is XPATH, the value attribute has an XPath used to evaluate its value from the incoming event. You can specify a formatter (a Java class, which is accessible through classpath) to format the value returned through the XPath evaluation.

Typical use cases for a formatter are:

  • Format a collection of nodes into a string

  • Format a Date into a different format

  • Format a Map into a string

    For Example:

    <Transform eventName="DeviceDeleteEvent">
    <Property name="deviceName" type = "XPATH"
                     value = "/VoyenceEvent/Device/DeviceDeleteEvent/DeviceId/OID"/>
    </Transform>