You need to sign in to do that
Don't have an account?
Aakriti Goyal
How can we add xsi:nil="true" to an attribute using xmlstreamwriter in Apex
I am trying to make a callout to the third party service & for that, I am generating XML in Apex using XmlStreamWriter. I need to add nil attribute such as <PG_Email xsi:nil="true" /> . How can we add this using XmlStreamWriter?