How to avoid empty node while doing xml serialization
C#
1
Posts
1
Posters
0
Views
1
Watching
-
When I xml serialize a file, I want all the empty node should not appear. e.g. Please ignore the format of the sample xml serialized file. The below mentioned xml serialized file has empty region node. [Application] [Name]abc[/Name] [Region/] [/Application] I want empty node should not appear in xml serialized file. [Application] [Name]abc[/Name] [/Application] I appreciate, if anyone has any solutions or suggestions to this, please share their knowledge. Regards, Shiby