I have an HTML file which contains java script and HTML tags. I want to convert that HTML file into XML file. As XML file is used only to store data. so java script will be ignored. I want to write such type of program in java.
I have tried with the sample code from http://www.daniweb.com/software-development/java/threads/162988 but it did not work for me.
Thanks Sunil