File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
How to insert data in xml file
Joined: Mar 18, 2009
May 15, 2009 00:21:53
I'm new to xml.As per requirement i've a xml file which contains some data as belows but i need to add data into the following xml file using java.can anyone please suggest me how to proceed.
<?xml version="1.0" standalone="yes"?>
<product_description>Life Insurance Plan</product_description>
<product_description>Professional Insurance Portfolio</product_description>
Thanks in Advance....
Joined: Jun 06, 2007
May 15, 2009 00:37:59
"Prince Point" please check your private messages for an important administrative matter. You can check them by clicking the
My Private Messages
Asking Good Questions
Joined: Mar 22, 2005
May 15, 2009 01:54:57
There are any number of APIs for altering XML files: DOM, XOM, JDOM, dom4j, ...
Joined: Oct 27, 2005
May 15, 2009 01:56:12
Moving to our XML forum.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: How to insert data in xml file
How to convert from sql to xml
Parsing XML using DOM
issue with special characters with sax parser
Customize Login Page Based on Url in J2ee Application
Unable to fetch data on a specific JSP....getting error "HTTP Status 404 - /getData.do"... help.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015