This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Adding data to an XML file?

 
Sam Smith
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello
I have created a JSP form that passes infromation into a javabean. I need to add this data to an existing XML document. Is there an easy way to do this using DOM? Using another JSP page I can create a new XML page from the form data using the class DocumentBuilderFactory, would it then be easier to combine the two XML files, how can I do this? Any ideas or links to tutorials on this subject will be much appreciated as I am way stuck.
Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the XML and Related Technologies forum where I think you'll get better responses.
bear
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tuorial understanding DOM might help you to learn add/modify/remove xml using DOM
 
Sam Smith
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cheers for that link, just what I was after.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic