Unfortunately that configuration writes the following TAG
But I need
The Workflow Basic Guide seems to indicate that XML Elements containing either "Null" or "Empty string" values should be represented as you expect:Type of OutputType of DataTarget File
This seems to be the default behaviour.
You may want to open a ticket with GCS to check why it's not behaving as expected in your case.
Has the custom property SuppressNilContentMethod been set for the Integration Service on which this problem occurs?
If yes, to which value?
If it is set to either ByTree or ByView, you MAY be able to remedy this by defining a custom property in the session with the following properties:
Name = SuppressNilContentMethod
Content = No
But that's only a guess from some KB articles I've read the other day.