Posted: Thu Apr 20, 2006 12:17 pm Post subject: NULL handling in MRM XML
Apprentice
Joined: 02 Jun 2004 Posts: 25
Hello all,
I am having trouble removing attributes which have a value NULL in the output node. The message set seems to be replacing all the NULL values with empty string. I have tried all the options in MRM "Encoding Null Non-Num Value" but none of them is helping me to remove the attribute. Can anybody help me.
You cannot 'remove attributes' using MRM null handling. If you want to delete nodes which have the value 'NULL' from the message tree before serializing the message, you'll have to write some ESQL.
MRM null handling translates between logical nulls ( i.e. syntax elements with a NULL value ) and physical nulls ( whatever the user likes to think of as 'null' in their document ). So you can use this feature to control how a null value appears in the input or output document, but you can't use it to delete the entire element/attribute.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum