Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
xml modification and generating a new one
Joined: Oct 06, 2008
Dec 17, 2009 05:56:26
I have one xml file like below
I wanted to create 100 xml files using some program with just one requirement, in my every new xml first name value should be increased by 1 always like next xml will have value <firstname> 002</firstname>
can any one suggest me in this regard.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Dec 17, 2009 07:28:34
Just do it with normal character output streams, no need to get fancy.
XML is not magic, if you just println() the tags and follow the XML rules you will get a valid document.
Java Resources at
Joined: Oct 14, 2005
Dec 17, 2009 09:06:36
You want to create 100 XML files? Then split your problem into two parts:
(1) Find out how to create one XML file.
(2) Find out how to do something 100 times.
Combine the two into one and you're done.
subject: xml modification and generating a new one
how to create xml file with forum content
someone pleasssseeee help !!!
Generating XML from template file.
How to modify XML file in Java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013