Convert XML File from HTML file using java