Hi there,
I want to create a XML of my DataSet using the .writeXml-function. If an entry in my DataSet was null, i would like to have an empty tag instead of a missing tag:
example how it should look like if John had no age:
<MyDataSet>
<ID>8613458</ID>
<AW_ID>37534778</AW_ID>
<NAME>Peter</NAME>
<AGE>22</AGE>
</MyDataSet>
<MyDataSet>
<ID>8613459</ID>
<AW_ID>37534779</AW_ID>
<NAME>John</NAME>
<AGE></AGE>
</MyDataSet>
example how it looks like right now:
<MyDataSet>
<ID>8613458</ID>
<AW_ID>37534778</AW_ID>
<NAME>Peter</NAME>
<AGE>22</AGE>
</MyDataSet>
<MyDataSet>
<ID>8613459</ID>
<AW_ID>37534779</AW_ID>
<NAME>John</NAME>
</MyDataSet>
Do you know what I need to do? Thanks for your help!!