We create html using Froala editor.
Our requirement is to convert the same to xml however it should be dtd compliant.
Basic steps required:-
1. Converting the dtd to java classes.
2. Transverse the html elements using Jsoup
3. setting the node values into java classes generated from dtd.
4. creating xml
5. Error/exceptions while converting data.
6. Verify xml with dtd.
I have uploaded supporting program as well. Need to enhance that program so that for different type of input html, it should perfectly make xml.
Provide me the sample xml corresponding to the [login to view URL] by enhancing the attached program to finalize the project.