I have one requirement, have one dynamic "HTML" page code i want to convert it to string (JAVA) and send to another interface for processing, How should i convert HTML to String? HTML code contains "" to define id's when converting to string it is taking starting " and between id " as one string.
"<html> <head>
<meta name="generator" content="HTML" "... So on.
<div class="zyx">#Title 1</div>
<div class="abc"><p>Some Content</p></div>
Since it html page contains (double quotes)".." it is not able to convert it, and giving error. Requirement i want whole html page in STRING format Can anyone tell me how should i convert HTML to String in best optimised way? Anyway to parse html page?