Remove Label and Field when region merge fields content is empty

Hi team,

Remove field when region merge fields content is empty
i have an xml
John Ben Jan
3
Java
Auckland

when CITY data comes balnk
“”
i need to remove that from the doc
how will i do that uisng mail merge option in Aspose word.

Thanks,
Vishnu

Hi Vishnu,

Thanks for your inquiry. I believe, you can achieve this after reading the articles mentioned below:
https://docs.aspose.com/words/net/clean-up-before-or-during-mail-merge/
https://docs.aspose.com/words/net/clean-up-before-or-during-mail-merge/

Best regards,