The purpose of null handling is to specify how messages will deal with null values, that is, the absence of a meaningful value for an element. Null properties for the MRM XML physical format are set for the message set only, and apply to all the defined objects within the message set, using the four properties Encoding Null Num, Encoding Null Non-Num, Encoding Null Num Val and Encoding Null Non-Num Val.
<element1></element1>
<element1>null</element1>
The properties Encoding Null Num and Encoding Null Non-Num specify the style of null handling, for example, that null is represented by an empty element.
The properties Encoding Null Num Val and Encoding Null Non-Num Val provide a value (if needed) to represent a null value. For an element of type string, this might be null or unspecified while for a number it might be 0 or 0.0.