Dear all, I have a string that I receive in my code which its content is HTML formatted like the following
String inputString ="<p> <strong>test with Bold Description of an ESB</strong></p><p> This is a test with <wierd characters> that "break" the processing.</p><p> <font color="#E3A49C"><strong>Test with colors MORNING</strong></font></p><br />" And I want to insert it into the document but to get it in the right format which means that for example the part <strong>test with Bold Description of an ESB</strong> should be processed to remove the <strong> tags and should be formatted as bold. How can I do that? Should I use an HTML parser to pars the string and handle it using my code? Or is there a way using ODFDOM for example? I really appreciate your support in this. Thanks & Best Regards / ?????? ????? Ahmed Ibrahim MBA, Executive Architect, Egypt Client Innovation Center, IBM Global Business Services IT Architect Egypt Profession Lead Egypt Mobile: +20 100 1615 506 Qatar Mobile: +974 3366 5808
