lets say i have an xml document called doc1, like so -
next, i map doc1 to doc2.
now, i wish to drop all empty or blank fields from doc2.
this would be my final intended result -
what is the best way to achieve this ?
i should add that i have set string1 and string2 as Required=False and Allow Null=True.