aspose file tools*
The moose likes XML and Related Technologies and the fly likes modification problem(modifying at the end) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "modification problem(modifying at the end)" Watch "modification problem(modifying at the end)" New topic
Author

modification problem(modifying at the end)

madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
hi,
in my xml file..im doing modification..but it is getting modified at the end..not at the required place...i used jsp page to enter the value...and it should check that value in xml file and do modification at that place...but im not getting...here is my code...

modify.java



thanks,
madhu.
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
can anyone help me regarding my problem..
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please wait longer than a half an hour before asking if someone can/will help you.

But the answer is probably no--500+ lines of code and a vague problem statement make it really difficult to help.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

Have you tried to run your code in debug mode ?? (HINT: create a main method, and then call createXmlTree(..) with required arguments)


Regards, Rene Larsen
Dropbox Invite
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
i tried..i didnt find any error
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

madhuri kunchala wrote:i tried..i didnt find any error


Why didn't you find where the XML is been modified wrong??

If you have debuged the method then you should have been able to see where in your code it is doing something wrong.
madhuri kunchala
Ranch Hand

Joined: Mar 30, 2010
Posts: 350
i got it...
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10263
    
168

By the way, as pointed in one another thread, a method with 50 parameters is not a good choice.

[My Blog] [JavaRanch Journal]
Michael Angstadt
Ranch Hand

Joined: Jun 17, 2009
Posts: 274

When you post...a code sample...500 lines long...no one will read...your code...


SCJP 6 || SCWCD 5
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Please be sure to ask XML questions in the XML forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: modification problem(modifying at the end)