# Ignore Null Fields in XML Writer

**URL:** <https://forum.cloverdx.com/t/ignore-null-fields-in-xml-writer/422>\
**Category:** CloverDX Platform\
**Created:** [October 21, 2008, 12:00am UTC](https://forum.cloverdx.com/t/ignore-null-fields-in-xml-writer/422 "2008-10-21T00:00:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![texlnghorn](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@texlnghorn](https://forum.cloverdx.com/u/texlnghorn)\
**Post date:** [October 21, 2008, 12:00am UTC](https://forum.cloverdx.com/t/ignore-null-fields-in-xml-writer/422/1 "2008-10-21T00:00:00Z")

</div>

Is there a way to exclude null fields in the XML writer? If the field is null, I don’t want to output it in the XML Writer.

---

<div class="post-metadata">

**Author:** ![mvarecha](https://avatars.discourse-cdn.com/v4/letter/m/5daacb/32.png) [@mvarecha](https://forum.cloverdx.com/u/mvarecha)\
**Post date:** [October 29, 2008, 9:03am UTC](https://forum.cloverdx.com/t/ignore-null-fields-in-xml-writer/422/2 "2008-10-29T09:03:26Z")

</div>

I’m afraid, it’s not possible with XML writer.

Regards,  
Martin Varecha
