Help me output empty tag?

Hi all,

My problem happens when i am trying to parse an xml file.
for example:
John
=> output is John

when element does not have any text like:

I want to output tag. But i do not know how to do this.

Can anybody help me?

Thanks

Recent versions of IS and the documentToXmlString may output required fields that are empty in the form but I’m not sure. I’ve only seen it output the form. In any case, it isn’t something you can control. From an XML parsing perspective, they are equivalent. What is the specific need for the shorter form?