SyntaxFix
Write A Post
Hire A Developer
Questions
It depends on how you validate your XML. If you use XML Schema validation, the correct way of representing null values is with the xsi:nil attribute.
null
xsi:nil
[Source]