function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aakriti GoyalAakriti Goyal 

How to set xsi:nil="true" in XML using XmlStreamWriter in apex

Hi All,

I am trying to set nil value in XML using XmlStreamWriter in apex.  Following

I am struggling with setting a null value. Can anyone provide me some trick to use null in XML.