I have a requirement according to which i need to send some trailing whitespaces(tabs) in the end of xml tag like below:-
<ImportFile Name="32201">Type Action </ImportFile>
I am using xmlbeans to set the value in tags:-
ImportFile importFile = importOption.addNewImportFile();
importFile.setName("Id");
importFile.setStringValue(value);
But by using above all trailing whitespaces get deleted and result in following structure:-
<ImportFile Name="32201">Type Action</ImportFile>
P.S. I am not using pretty print XMLoption