Convert Text files to XML
Is anyone aware of a Java program to convert
files in text format to xml format?
or even from excel to XML format. The excel or text file contains information like name, age, address and so on.
Pls. let me know if you are aware of such a program.
Thanks in advance.
Re: Convert Text files to XML
You could always write this program yourself :)
I'm pretty sure I've done something like this in the past. Please do a search on the forums.
You would basically need to read in the text file, grab the data you want and write it out again.
There are lots of code examples here: Java Code Snippets and Tutorials - Java Programming Forums
Look into the Scanner class.