I want to send an XML representation of the data in a datastore to a web service. I get the XML with dw1.Object.DataWindow.Data.XML.
However it doesn't differentiate between empty string data and data that is null, something that is quite important since I am saving it to a database. It marks any columns with empty string and null the same, with a nill="true".
Does anyone know of any way for it not to do this? I'd like empty string to be represented as an empty XML element and nulls with a nill="true".
Thank you.