I am new to jsoup so I am a little bit confused as to how to apply the modification to the original HTML file and then get it as an output.
After giving changes by selecting the portion of html
e.g. Element elements = doc.select("_____").attr("_____",____);
(As this elements would only have the selected portion...)
how can I apply this to the original doc? so that I can get the modified HTML as an output?
Thank you very much