wood burning stoves 2.0*
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

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...


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,
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9937

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
unable to remove spaces in xml
problem in checking the entered value with the existing value
problem in modification of the value in xml file
modification problem(modifying at the end)
problem in deleting the file