Look at endtags here:
Ignore my previous message. Are you familiar if your client parses xml as per the XML spec? It is possible it simply doesnt understand an "empty tag".
Hi,Thanks for replying to me , I just wanted to know can we define empty tag as <flag></flag> or any technique to convert <flag/> to <flag></flag>. And I m familiar to xml that is why I m asking here i have put values in XML tags. but the system at client does not accept the standard. well for time being I am putting space and it shows as <flag></flag> when printing xmlobject.
--