File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes problem in removing spaces in xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply locked New topic
Author

problem in removing spaces in xml file

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
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

Joined: Jul 20, 2005
Posts: 9323
    
109



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.

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in removing spaces in xml file
 
Similar Threads
modification problem(modifying at the end)
problem in deleting the file
problem in modification of the value in xml file
problem in checking the entered value with the existing value
unable to remove spaces in xml