Bookmark Topic Watch Topic
  • New Topic

problem in removing spaces in xml file

 
madhuri kunchala
Ranch Hand
Posts: 350
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi good morning,
i developed web application..in it i need to create XML file i had developed the problem is if im doing delete operation...it is deleting by leaving spaces between Element Nodes..i had changed the code ...here is my code...can any one suggest me how to do.. and my output is also i m providing...its urgent can anyone help me...

delete.java



the output before deleting is



the output after deleting is



it is leaving space after </MA05> and </PACKS> tag...can anyone provide me the solution..

thanks in advance,
madhu.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator


How is this any different, from the lengthy discussion we had in your other thread, here yesterday http://www.coderanch.com/t/503777/XML/unable-remove-spaces-xml

Closing this one.
 
    Bookmark Topic Watch Topic
  • New Topic