It is not this what i mean. I had converted my database resultant set in tabular form in jsp form using json. Now this tab form of jsp only needs to be converted in xml. I have got string which is formed by strigbuilder class on jsp page which includes the whole table data in html format.
How to convert this data in xml file and allow user to download that file.