How to set xml 'flags' <flag/> in create xml

Is there guidance on how to set the empty xml tag formatted like <flag/>

in a create xml step? We have destination systems that require these and will not accept <flag></flag> but I have been unable to produce this format.

Edited to show xml tag examples correctly.