i have some data and i want to write a new XML for that data. can this be done in java using any parsers. if yes can nyone pls give me sample code of it.
You will probably find it easier just to write the XML document file directly with print statements than to fool around with creation of a Document object in memory.